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.00133/0.00133, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001463/0.001463, allocations: 215.8 kB / 24.51 MB, free: 3.914 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.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 7.727 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.1915/0.1915, allocations: 38.55 MB / 353.2 MB, free: 12.29 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.003269/0.003269, allocations: 71.83 kB / 493.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3979, allocations: 62.46 MB / 0.5427 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007669/0.4056, allocations: 5.298 MB / 0.5479 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.4081, allocations: 1.263 MB / 0.5491 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.4084, allocations: 26.16 kB / 0.5491 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004944/0.4089, allocations: 126 kB / 0.5493 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009256/0.4098, allocations: 378.8 kB / 0.5496 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.4101, allocations: 142.6 kB / 0.5498 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008662/0.411, allocations: 0.7579 MB / 0.5505 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.4113, allocations: 132.3 kB / 0.5506 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005896/0.4119, allocations: 352.5 kB / 0.551 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006474/0.4125, allocations: 398.6 kB / 0.5513 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.269e-05/0.4126, allocations: 40.44 kB / 0.5514 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.4127, allocations: 36.75 kB / 0.5514 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.4129, allocations: 202.8 kB / 0.5516 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.4132, allocations: 203 kB / 0.5518 GB, free: 9.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007281/0.4139, allocations: 0.5327 MB / 0.5523 GB, free: 9.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.414, allocations: 0 / 0.5523 GB, free: 9.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.414, allocations: 5.406 kB / 0.5523 GB, free: 9.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.414, allocations: 0 / 0.5523 GB, free: 9.137 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.001611/0.4156, allocations: 0.7363 MB / 0.553 GB, free: 8.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4156, allocations: 12.98 kB / 0.5531 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.528e-05/0.4156, allocations: 11.44 kB / 0.5531 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.4157, allocations: 81.39 kB / 0.5531 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.4159, allocations: 57.72 kB / 0.5532 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008797/0.4167, allocations: 427.2 kB / 0.5536 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/0.4168, allocations: 28.72 kB / 0.5536 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.104e-05/0.4169, allocations: 41.59 kB / 0.5537 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000879/0.4177, allocations: 0.4929 MB / 0.5542 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.4178, allocations: 4.969 kB / 0.5542 GB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.114e-05/0.4178, allocations: 20.36 kB / 0.5542 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/0.4179, allocations: 25.8 kB / 0.5542 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007054/0.4186, allocations: 367.9 kB / 0.5546 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/0.4215, allocations: 1.911 MB / 0.5564 GB, free: 5.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.422, allocations: 220.9 kB / 0.5566 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.4222, allocations: 123.6 kB / 0.5567 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.4223, allocations: 0 / 0.5567 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.4223, allocations: 34.56 kB / 0.5568 GB, free: 5.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.664e-06/0.4223, allocations: 0 / 0.5568 GB, free: 5.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001365/0.4237, allocations: 0.7005 MB / 0.5575 GB, free: 4.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/0.4237, allocations: 85.05 kB / 0.5575 GB, free: 4.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004672/0.4242, allocations: 381.5 kB / 0.5579 GB, free: 4.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.4242, allocations: 29.7 kB / 0.5579 GB, free: 4.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.4245, allocations: 295.8 kB / 0.5582 GB, free: 4.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.779e-05/0.4246, allocations: 87.27 kB / 0.5583 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.4247, allocations: 78.09 kB / 0.5584 GB, free: 3.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.4249, allocations: 346.8 kB / 0.5587 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.4251, allocations: 88.81 kB / 0.5588 GB, free: 3.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.4255, allocations: 281.2 kB / 0.5591 GB, free: 3.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005484/0.426, allocations: 403.4 kB / 0.5594 GB, free: 2.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.426, allocations: 0 / 0.5594 GB, free: 2.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008406/0.4269, allocations: 459.9 kB / 0.5599 GB, free: 2.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.4269, allocations: 8 kB / 0.5599 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.4269, allocations: 4 kB / 0.5599 GB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002607/0.4272, allocations: 53.48 kB / 0.5599 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.4275, allocations: 87.84 kB / 0.56 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.4293, allocations: 1.503 MB / 0.5615 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.4295, allocations: 19.98 kB / 0.5615 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.4295, allocations: 20 kB / 0.5615 GB, free: 324 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.0003002/0.4298, allocations: 212 kB / 0.5617 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.444e-05/0.4299, allocations: 43.66 kB / 0.5618 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.4303, allocations: 237.2 kB / 0.562 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4303, allocations: 7.938 kB / 0.562 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.4303, allocations: 0 / 0.562 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.4303, allocations: 3.984 kB / 0.562 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009677/0.4313, allocations: 0.6398 MB / 0.5626 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4313, allocations: 0 / 0.5626 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.4315, allocations: 51.91 kB / 0.5627 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.4315, allocations: 7.938 kB / 0.5627 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.4316, allocations: 4.062 kB / 0.5627 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.4316, allocations: 4 kB / 0.5627 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4316, allocations: 3.984 kB / 0.5627 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/0.4321, allocations: 441.4 kB / 0.5631 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.4323, allocations: 43.78 kB / 0.5632 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.4323, allocations: 4.125 kB / 0.5632 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.4324, allocations: 12 kB / 0.5632 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.4325, allocations: 15.97 kB / 0.5632 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.4325, allocations: 4 kB / 0.5632 GB, free: 14.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003691/0.4329, allocations: 263.1 kB / 0.5635 GB, free: 14.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4329, allocations: 64 / 0.5635 GB, free: 14.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006287/0.4335, allocations: 88 kB / 0.5635 GB, free: 14.17 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.001214/0.4347, allocations: 0.9606 MB / 0.5645 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008145/0.4355, allocations: 375.5 kB / 0.5648 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4355, allocations: 0 / 0.5648 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.4357, allocations: 87.03 kB / 0.5649 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/0.4364, allocations: 88.69 kB / 0.565 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005504/0.4419, allocations: 3.725 MB / 0.5686 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.4422, allocations: 258 kB / 0.5689 GB, free: 8.352 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000295/0.4425, allocations: 72.16 kB / 0.569 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.4427, allocations: 159.4 kB / 0.5691 GB, free: 8.125 MB / 414.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4427, allocations: 0 / 0.5691 GB, free: 8.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03343/0.4761, allocations: 8.162 MB / 0.5771 GB, free: 176 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.11, allocations: 15.88 kB / 0.5771 GB, free: 160 kB / 414.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: 16.04252723394893] Failed to read output from testmodel.py, exit status != 0: 13.280198017018847 13.302435712 12.883952771 Calling exit ...