Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="IBPSA_latest_IBPSA_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.0007279/0.0007279, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008147/0.0008146, allocations: 179.7 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6415/0.6415, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002688/0.0002688, allocations: 8 kB / 496 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.12, allocations: 77.54 MB / 0.5601 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.005386/0.1254, allocations: 4.96 MB / 0.5649 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005607/0.1311, allocations: 4.061 MB / 0.5689 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004059/0.1315, allocations: 15.88 kB / 0.5689 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.1318, allocations: 99.17 kB / 0.569 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.1333, allocations: 0.6225 MB / 0.5696 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1345, allocations: 0.5067 MB / 0.5701 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.136, allocations: 1.622 MB / 0.5717 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.1372, allocations: 0.7004 MB / 0.5723 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006117/0.1378, allocations: 390.4 kB / 0.5727 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008228/0.1386, allocations: 0.5293 MB / 0.5732 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.1388, allocations: 36 kB / 0.5733 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.1403, allocations: 1.006 MB / 0.5743 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.1406, allocations: 299.1 kB / 0.5745 GB, free: 10 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004492/0.141, allocations: 419.5 kB / 0.5749 GB, free: 9.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.1427, allocations: 1.406 MB / 0.5763 GB, free: 8.176 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1427, allocations: 0 / 0.5763 GB, free: 8.176 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1427, allocations: 0 / 0.5763 GB, free: 8.176 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1427, allocations: 0 / 0.5763 GB, free: 8.176 MB / 446.1 MB 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.001703/0.1444, allocations: 1.02 MB / 0.5773 GB, free: 7.105 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1445, allocations: 16.03 kB / 0.5773 GB, free: 7.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.1446, allocations: 126.6 kB / 0.5774 GB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009309/0.1539, allocations: 1.689 MB / 0.5791 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008136/0.1547, allocations: 0.6118 MB / 0.5797 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.1548, allocations: 49.66 kB / 0.5797 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.1549, allocations: 60.36 kB / 0.5798 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004471/0.1594, allocations: 1.913 MB / 0.5817 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.1594, allocations: 7.922 kB / 0.5817 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.1596, allocations: 31.97 kB / 0.5817 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003247/0.1599, allocations: 149.4 kB / 0.5818 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2121/0.372, allocations: 2.612 MB / 0.5844 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008881/0.3809, allocations: 6.659 MB / 0.5909 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003317/0.3843, allocations: 1.273 MB / 0.5921 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002528/0.3868, allocations: 0.9092 MB / 0.593 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/0.3886, allocations: 1.477 MB / 0.5945 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.3886, allocations: 42.66 kB / 0.5945 GB, free: 25.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=73): time 2.294e-06/0.3887, allocations: 1.031 kB / 0.5945 GB, free: 25.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=107): time 0.02715/0.4158, allocations: 8.253 MB / 0.6026 GB, free: 23.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.4159, allocations: 92.86 kB / 0.6027 GB, free: 23.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006004/0.4165, allocations: 0.5747 MB / 0.6032 GB, free: 22.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-05/0.4166, allocations: 45.92 kB / 0.6033 GB, free: 22.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.4168, allocations: 415 kB / 0.6037 GB, free: 22.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/0.417, allocations: 367 kB / 0.604 GB, free: 22.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.4172, allocations: 109.8 kB / 0.6041 GB, free: 21.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.4173, allocations: 391.4 kB / 0.6045 GB, free: 21.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002752/0.42, allocations: 1.12 MB / 0.6056 GB, free: 21.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002861/0.4229, allocations: 1.453 MB / 0.607 GB, free: 20.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005642/0.4286, allocations: 2.614 MB / 0.6096 GB, free: 18.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.4286, allocations: 3.375 kB / 0.6096 GB, free: 18.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01015/0.4387, allocations: 3.886 MB / 0.6134 GB, free: 16.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.4389, allocations: 396.2 kB / 0.6137 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.4389, allocations: 10.38 kB / 0.6137 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005014/0.4439, allocations: 1.385 MB / 0.6151 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/0.4458, allocations: 470 kB / 0.6155 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.4577, allocations: 11.24 MB / 0.6265 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.4597, allocations: 303.5 kB / 0.6268 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.4598, allocations: 68.03 kB / 0.6269 GB, free: 5.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.453e-06/0.4599, allocations: 8 kB / 0.6269 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008816/0.4687, allocations: 3.577 MB / 0.6304 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.4687, allocations: 8.531 kB / 0.6304 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003551/0.4723, allocations: 1.101 MB / 0.6315 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/0.4741, allocations: 471.2 kB / 0.6319 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.4866, allocations: 10.37 MB / 0.642 GB, free: 5.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.4887, allocations: 303.5 kB / 0.6423 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.4888, allocations: 59.97 kB / 0.6424 GB, free: 4.891 MB / 462.1 MB 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005716/0.4894, allocations: 388.7 kB / 0.6428 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.4896, allocations: 79.17 kB / 0.6428 GB, free: 4.422 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/0.5004, allocations: 3.789 MB / 0.6465 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.5004, allocations: 8 kB / 0.6465 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.5004, allocations: 8 kB / 0.6465 GB, free: 0.582 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.5004, allocations: 3.984 kB / 0.6465 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/0.513, allocations: 5.491 MB / 0.6519 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.513, allocations: 4 kB / 0.6519 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.5146, allocations: 363.7 kB / 0.6523 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004612/0.5193, allocations: 1.249 MB / 0.6535 GB, free: 9.344 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.855e-05/0.5194, allocations: 31.98 kB / 0.6535 GB, free: 9.312 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/0.5325, allocations: 10.75 MB / 0.664 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.5325, allocations: 7.938 kB / 0.664 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00992/0.5424, allocations: 3.678 MB / 0.6676 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/0.543, allocations: 335.9 kB / 0.6679 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.5431, allocations: 32.05 kB / 0.668 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/0.545, allocations: 323.4 kB / 0.6683 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.5453, allocations: 100.7 kB / 0.6684 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-05/0.5454, allocations: 47.97 kB / 0.6684 GB, free: 9.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004528/0.5459, allocations: 406.8 kB / 0.6688 GB, free: 9.012 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5459, allocations: 0 / 0.6688 GB, free: 9.012 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001888/0.5478, allocations: 0.5938 MB / 0.6694 GB, free: 8.418 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,9,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01006/0.5578, allocations: 4.263 MB / 0.6735 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01367/0.5715, allocations: 5.734 MB / 0.6791 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5715, allocations: 1.5 kB / 0.6791 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004991/0.5765, allocations: 2.122 MB / 0.6812 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.5779, allocations: 148.5 kB / 0.6814 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03711/0.615, allocations: 16.23 MB / 0.6972 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006632/0.6157, allocations: 1.106 MB / 0.6983 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001897/0.6176, allocations: 0.5422 MB / 0.6988 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.6181, allocations: 299.3 kB / 0.6991 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.6181, allocations: 0 / 0.6991 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9438/1.562, allocations: 33.44 MB / 0.7318 GB, free: 8.02 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/1.562, allocations: 253.9 kB / 0.732 GB, free: 7.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/3.963, allocations: 0 / 0.732 GB, free: 7.77 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)