Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002386/0.002386, allocations: 216.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1933/0.1933, allocations: 38.53 MB / 353.3 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.91 kB / 493.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3431, allocations: 62.47 MB / 0.5428 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007671/0.3507, allocations: 5.667 MB / 0.5483 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003124/0.3539, allocations: 1.362 MB / 0.5496 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/0.3543, allocations: 26.47 kB / 0.5497 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005656/0.3549, allocations: 135.8 kB / 0.5498 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.356, allocations: 377.8 kB / 0.5502 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.3564, allocations: 142.2 kB / 0.5503 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.3574, allocations: 0.756 MB / 0.551 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.3577, allocations: 132.1 kB / 0.5512 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006065/0.3583, allocations: 348.8 kB / 0.5515 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006574/0.359, allocations: 406.7 kB / 0.5519 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.91e-05/0.359, allocations: 35.31 kB / 0.5519 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.004e-05/0.3591, allocations: 37 kB / 0.5519 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.3593, allocations: 202.5 kB / 0.5521 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.3596, allocations: 250.2 kB / 0.5524 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007223/0.3604, allocations: 0.5316 MB / 0.5529 GB, free: 8.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3604, allocations: 1.125 kB / 0.5529 GB, free: 8.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3604, allocations: 0 / 0.5529 GB, free: 8.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.3604, allocations: 3.938 kB / 0.5529 GB, free: 8.758 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001605/0.362, allocations: 0.7319 MB / 0.5536 GB, free: 8.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.945e-05/0.3621, allocations: 14.23 kB / 0.5536 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.002e-05/0.3621, allocations: 10.53 kB / 0.5536 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.3622, allocations: 85.36 kB / 0.5537 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.3623, allocations: 66.22 kB / 0.5538 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008657/0.3632, allocations: 418.6 kB / 0.5542 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.3632, allocations: 29.22 kB / 0.5542 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.471e-05/0.3633, allocations: 37.47 kB / 0.5542 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008414/0.3641, allocations: 0.4904 MB / 0.5547 GB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.3641, allocations: 9.625 kB / 0.5547 GB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.3642, allocations: 14.81 kB / 0.5547 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.3642, allocations: 30.17 kB / 0.5548 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006295/0.3649, allocations: 367.8 kB / 0.5551 GB, free: 7.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.3677, allocations: 2.028 MB / 0.5571 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.3681, allocations: 230.3 kB / 0.5573 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.3683, allocations: 112.4 kB / 0.5574 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3684, allocations: 6.031 kB / 0.5574 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.3684, allocations: 44.73 kB / 0.5575 GB, free: 5.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.3684, allocations: 0 / 0.5575 GB, free: 5.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001363/0.3698, allocations: 0.6879 MB / 0.5582 GB, free: 4.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.454e-05/0.3699, allocations: 85.05 kB / 0.5582 GB, free: 4.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.3703, allocations: 381.7 kB / 0.5586 GB, free: 3.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.3703, allocations: 33.7 kB / 0.5586 GB, free: 3.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.3705, allocations: 295.8 kB / 0.5589 GB, free: 3.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.3706, allocations: 87.27 kB / 0.559 GB, free: 3.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.3707, allocations: 78.09 kB / 0.5591 GB, free: 3.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3709, allocations: 354.8 kB / 0.5594 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.371, allocations: 84.83 kB / 0.5595 GB, free: 3.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.3713, allocations: 277.2 kB / 0.5598 GB, free: 2.656 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.3718, allocations: 400.5 kB / 0.5601 GB, free: 2.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3718, allocations: 4 kB / 0.5601 GB, free: 2.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007406/0.3726, allocations: 456 kB / 0.5606 GB, free: 1.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.3726, allocations: 10.81 kB / 0.5606 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.3726, allocations: 8 kB / 0.5606 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/0.3728, allocations: 52.83 kB / 0.5606 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.3731, allocations: 79.78 kB / 0.5607 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.3746, allocations: 1.519 MB / 0.5622 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.3748, allocations: 24.05 kB / 0.5622 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.3749, allocations: 20 kB / 0.5622 GB, free: 15.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002516/0.3751, allocations: 208.6 kB / 0.5624 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.3752, allocations: 47.59 kB / 0.5625 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.3756, allocations: 241.1 kB / 0.5627 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.3756, allocations: 4 kB / 0.5627 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.3756, allocations: 0 / 0.5627 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3756, allocations: 0 / 0.5627 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009805/0.3765, allocations: 0.6633 MB / 0.5634 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3765, allocations: 0 / 0.5634 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.3768, allocations: 47.91 kB / 0.5634 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3768, allocations: 0 / 0.5634 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.3768, allocations: 8 kB / 0.5634 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.3768, allocations: 4 kB / 0.5634 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3768, allocations: 4.062 kB / 0.5634 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005402/0.3773, allocations: 429.4 kB / 0.5638 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-05/0.3774, allocations: 47.73 kB / 0.5639 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.3775, allocations: 8 kB / 0.5639 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.3776, allocations: 4 kB / 0.5639 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.3777, allocations: 20.03 kB / 0.5639 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3777, allocations: 8 kB / 0.5639 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002756/0.378, allocations: 259.1 kB / 0.5642 GB, free: 13.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.378, allocations: 0 / 0.5642 GB, free: 13.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004536/0.3784, allocations: 95.98 kB / 0.5643 GB, free: 13.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009031/0.3793, allocations: 0.9489 MB / 0.5652 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000698/0.38, allocations: 378.9 kB / 0.5655 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.38, allocations: 0 / 0.5655 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.3802, allocations: 83.84 kB / 0.5656 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.3808, allocations: 102.4 kB / 0.5657 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004862/0.3856, allocations: 3.718 MB / 0.5694 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.3861, allocations: 0.8584 MB / 0.5702 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002622/0.3864, allocations: 84.14 kB / 0.5703 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.3866, allocations: 147.4 kB / 0.5704 GB, free: 7.078 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3866, allocations: 4 kB / 0.5704 GB, free: 7.074 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/0.4222, allocations: 8.008 MB / 0.5782 GB, free: 15.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.93, allocations: 7.844 kB / 0.5782 GB, free: 15.22 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.828384180960711] Failed to read output from testmodel.py, exit status != 0: 13.104206866992172 13.122247693 12.758439369 Calling exit ...