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.001632/0.001632, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001994/0.001994, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1913/0.1913, allocations: 38.55 MB / 352.5 MB, free: 12.3 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",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.0032/0.0032, allocations: 74.19 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3624, allocations: 62.45 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.008269/0.3707, allocations: 5.311 MB / 0.5471 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002823/0.3735, allocations: 1.278 MB / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.3738, allocations: 26.09 kB / 0.5484 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004772/0.3743, allocations: 130 kB / 0.5485 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008996/0.3752, allocations: 373.5 kB / 0.5489 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.3755, allocations: 143.3 kB / 0.549 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008292/0.3763, allocations: 0.7502 MB / 0.5497 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.3766, allocations: 132.4 kB / 0.5499 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005358/0.3771, allocations: 352.1 kB / 0.5502 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006372/0.3777, allocations: 387.5 kB / 0.5506 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.3778, allocations: 39.81 kB / 0.5506 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3779, allocations: 36.78 kB / 0.5506 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.3781, allocations: 198.6 kB / 0.5508 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.3784, allocations: 206.8 kB / 0.551 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007166/0.3791, allocations: 0.5372 MB / 0.5516 GB, free: 9.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3791, allocations: 0 / 0.5516 GB, free: 9.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3791, allocations: 0 / 0.5516 GB, free: 9.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.3791, allocations: 1.062 kB / 0.5516 GB, free: 9.141 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.001506/0.3806, allocations: 0.7358 MB / 0.5523 GB, free: 8.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.3807, allocations: 14.3 kB / 0.5523 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.3808, allocations: 76.72 kB / 0.5524 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.3809, allocations: 57.81 kB / 0.5524 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009622/0.3818, allocations: 427.2 kB / 0.5528 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.3819, allocations: 33.03 kB / 0.5529 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/0.382, allocations: 41.42 kB / 0.5529 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008595/0.3828, allocations: 0.493 MB / 0.5534 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.3828, allocations: 5.031 kB / 0.5534 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.3829, allocations: 16.16 kB / 0.5534 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/0.3829, allocations: 21.33 kB / 0.5534 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006437/0.3836, allocations: 371.1 kB / 0.5538 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/0.3864, allocations: 1.906 MB / 0.5556 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.3869, allocations: 223.8 kB / 0.5558 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.3872, allocations: 117.7 kB / 0.556 GB, free: 5.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.3872, allocations: 4 kB / 0.556 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.3872, allocations: 34.55 kB / 0.556 GB, free: 5.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.325e-06/0.3872, allocations: 0 / 0.556 GB, free: 5.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001356/0.3886, allocations: 0.6944 MB / 0.5567 GB, free: 4.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.3886, allocations: 89.05 kB / 0.5568 GB, free: 4.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004373/0.3891, allocations: 389.4 kB / 0.5571 GB, free: 4.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.3891, allocations: 33.7 kB / 0.5572 GB, free: 4.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.3893, allocations: 291.8 kB / 0.5574 GB, free: 4.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.676e-05/0.3894, allocations: 91.25 kB / 0.5575 GB, free: 3.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.3895, allocations: 78.09 kB / 0.5576 GB, free: 3.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3897, allocations: 346.8 kB / 0.5579 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.3899, allocations: 88.81 kB / 0.558 GB, free: 3.406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.3902, allocations: 277.2 kB / 0.5583 GB, free: 3.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.3907, allocations: 407.3 kB / 0.5587 GB, free: 2.559 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.3907, allocations: 0 / 0.5587 GB, free: 2.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007555/0.3914, allocations: 459.8 kB / 0.5591 GB, free: 2.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3915, allocations: 11.94 kB / 0.5591 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.3915, allocations: 8 kB / 0.5591 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.3917, allocations: 56.77 kB / 0.5592 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.3919, allocations: 80.38 kB / 0.5593 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.3935, allocations: 1.51 MB / 0.5607 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.3937, allocations: 15.95 kB / 0.5607 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.3938, allocations: 20 kB / 0.5608 GB, free: 292 kB / 398.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.0002738/0.394, allocations: 208.6 kB / 0.561 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.3941, allocations: 43.7 kB / 0.561 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/0.3945, allocations: 233.2 kB / 0.5612 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3945, allocations: 4.062 kB / 0.5612 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3946, allocations: 7.984 kB / 0.5612 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3946, allocations: 0 / 0.5612 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.3956, allocations: 0.6398 MB / 0.5619 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3956, allocations: 4 kB / 0.5619 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.3959, allocations: 51.91 kB / 0.5619 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3959, allocations: 0 / 0.5619 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.3959, allocations: 4 kB / 0.5619 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3959, allocations: 64 / 0.5619 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3959, allocations: 8 kB / 0.5619 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005625/0.3965, allocations: 441.2 kB / 0.5624 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.3966, allocations: 39.75 kB / 0.5624 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.3966, allocations: 8 kB / 0.5624 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.3968, allocations: 12.11 kB / 0.5624 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.3968, allocations: 7.984 kB / 0.5624 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.3968, allocations: 12 kB / 0.5624 GB, free: 14.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003074/0.3971, allocations: 259.1 kB / 0.5627 GB, free: 14.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3971, allocations: 0 / 0.5627 GB, free: 14.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004941/0.3976, allocations: 91.94 kB / 0.5628 GB, free: 14.15 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.001013/0.3986, allocations: 0.9606 MB / 0.5637 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007387/0.3994, allocations: 371.8 kB / 0.5641 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3994, allocations: 4.062 kB / 0.5641 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.3995, allocations: 83.84 kB / 0.5641 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.4001, allocations: 91.42 kB / 0.5642 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/0.4053, allocations: 3.738 MB / 0.5679 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.4056, allocations: 246 kB / 0.5681 GB, free: 8.336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002445/0.4058, allocations: 80.12 kB / 0.5682 GB, free: 8.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.406, allocations: 151.4 kB / 0.5683 GB, free: 8.109 MB / 414.1 MB Notification: Performance of SimCode: time 1.593e-06/0.406, allocations: 0 / 0.5683 GB, free: 8.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/0.449, allocations: 8.402 MB / 0.5765 GB, free: 15.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.33, allocations: 10.84 kB / 0.5765 GB, free: 15.88 MB / 430.1 MB " [Timeout remaining time 648] (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.281889265403152] Failed to read output from testmodel.py, exit status != 0: 12.451103167142719 12.477116006 12.093653202 Calling exit ...