Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.4 MB / 222.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005313/0.0005313, allocations: 14.97 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2291, allocations: 116.3 MB / 0.7872 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.005588/0.2348, allocations: 4.554 MB / 0.7917 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005603/0.2404, allocations: 3.784 MB / 0.7954 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004151/0.2409, allocations: 19.88 kB / 0.7954 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.2411, allocations: 87.36 kB / 0.7955 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.2422, allocations: 454.5 kB / 0.7959 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.2433, allocations: 422.9 kB / 0.7963 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007089/0.244, allocations: 0.6489 MB / 0.797 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.245, allocations: 0.6642 MB / 0.7976 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.2455, allocations: 334.8 kB / 0.7979 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00052/0.246, allocations: 386.6 kB / 0.7983 GB, free: 464 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.25e-05/0.2461, allocations: 36 kB / 0.7983 GB, free: 428 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009011/0.247, allocations: 463.2 kB / 0.7988 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.2473, allocations: 275.2 kB / 0.799 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.2474, allocations: 161.3 kB / 0.7992 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.2485, allocations: 1.017 MB / 0.8002 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2485, allocations: 0 / 0.8002 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2485, allocations: 0 / 0.8002 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.2485, allocations: 0 / 0.8002 GB, free: 14.51 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.001915/0.2504, allocations: 1.02 MB / 0.8012 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2505, allocations: 12.03 kB / 0.8012 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.2506, allocations: 110.5 kB / 0.8013 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009492/0.2601, allocations: 1.746 MB / 0.803 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.2614, allocations: 0.6069 MB / 0.8036 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.2615, allocations: 41.3 kB / 0.8036 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.2616, allocations: 63.92 kB / 0.8037 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004589/0.2662, allocations: 1.909 MB / 0.8056 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.2663, allocations: 3.984 kB / 0.8056 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.2664, allocations: 27.98 kB / 0.8056 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003551/0.2668, allocations: 153.3 kB / 0.8057 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007552/0.2743, allocations: 2.616 MB / 0.8083 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.2844, allocations: 6.657 MB / 0.8148 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/0.2877, allocations: 1.266 MB / 0.816 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002337/0.2901, allocations: 1.476 MB / 0.8175 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.2901, allocations: 46.55 kB / 0.8175 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.575e-06/0.2902, allocations: 0 / 0.8175 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.02754/0.3177, allocations: 8.233 MB / 0.8255 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.3178, allocations: 90.11 kB / 0.8256 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007178/0.3185, allocations: 0.5768 MB / 0.8262 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.3187, allocations: 45.64 kB / 0.8262 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.319, allocations: 419.1 kB / 0.8266 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.3193, allocations: 366.7 kB / 0.827 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-05/0.3194, allocations: 24 kB / 0.827 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3196, allocations: 398.7 kB / 0.8274 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002867/0.3224, allocations: 1.103 MB / 0.8285 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003086/0.3255, allocations: 1.445 MB / 0.8299 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/0.3286, allocations: 1.226 MB / 0.8311 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.3286, allocations: 4 kB / 0.8311 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01068/0.3393, allocations: 3.885 MB / 0.8349 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.001755/0.3411, allocations: 4.002 MB / 0.8388 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.3411, allocations: 12 kB / 0.8388 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005507/0.3466, allocations: 1.376 MB / 0.8401 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/0.349, allocations: 463.2 kB / 0.8406 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/0.3648, allocations: 11.57 MB / 0.8519 GB, free: 7.785 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/0.3671, allocations: 307.9 kB / 0.8522 GB, free: 7.484 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.3673, allocations: 71.92 kB / 0.8522 GB, free: 7.414 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3674, allocations: 4 kB / 0.8522 GB, free: 7.41 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01014/0.3775, allocations: 3.565 MB / 0.8557 GB, free: 3.832 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/0.3776, allocations: 19.88 kB / 0.8557 GB, free: 3.812 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004169/0.3818, allocations: 1.1 MB / 0.8568 GB, free: 2.699 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/0.3841, allocations: 471.2 kB / 0.8573 GB, free: 2.238 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/0.3979, allocations: 10.62 MB / 0.8676 GB, free: 7.074 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/0.4003, allocations: 307.6 kB / 0.8679 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.4004, allocations: 63.97 kB / 0.868 GB, free: 6.711 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006854/0.4011, allocations: 376.7 kB / 0.8684 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.4013, allocations: 90.92 kB / 0.8684 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/0.4126, allocations: 3.762 MB / 0.8721 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.4127, allocations: 8 kB / 0.8721 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/0.4127, allocations: 8 kB / 0.8721 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.34e-05/0.4127, allocations: 11.88 kB / 0.8721 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/0.4264, allocations: 5.47 MB / 0.8775 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.4265, allocations: 4 kB / 0.8775 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.4282, allocations: 363.4 kB / 0.8778 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005378/0.4336, allocations: 1.248 MB / 0.8791 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.4338, allocations: 39.97 kB / 0.8791 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/0.4485, allocations: 11.08 MB / 0.8899 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/0.4485, allocations: 12 kB / 0.8899 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/0.459, allocations: 3.935 MB / 0.8938 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007954/0.4598, allocations: 339.8 kB / 0.8941 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.46, allocations: 31.98 kB / 0.8941 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/0.4618, allocations: 315.6 kB / 0.8944 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/0.4622, allocations: 112.1 kB / 0.8945 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-05/0.4623, allocations: 35.98 kB / 0.8946 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005103/0.4628, allocations: 410.8 kB / 0.895 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4628, allocations: 0 / 0.895 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00211/0.4649, allocations: 0.5938 MB / 0.8955 GB, free: 9.512 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0116/0.4765, allocations: 6.1 MB / 0.9015 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01535/0.4919, allocations: 5.713 MB / 0.9071 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.492, allocations: 0 / 0.9071 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005494/0.4975, allocations: 2.114 MB / 0.9091 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.4987, allocations: 130.9 kB / 0.9093 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4187/0.9174, allocations: 17.36 MB / 0.9262 GB, free: 126 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007125/0.9181, allocations: 1.13 MB / 0.9273 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001962/0.9201, allocations: 0.5373 MB / 0.9279 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004704/0.9206, allocations: 300.8 kB / 0.9281 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.222e-06/0.9206, allocations: 0 / 0.9281 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05182/0.9724, allocations: 33.37 MB / 0.9607 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001277/0.9726, allocations: 237.7 kB / 0.961 GB, free: 114.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.786/3.758, allocations: 64 / 0.961 GB, free: 114.2 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) Environment - environmentSimulation: