Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001947/0.001947, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002242/0.002242, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2001/0.2001, allocations: 38.53 MB / 353.2 MB, free: 12.64 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.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Source,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source",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.002678/0.002678, allocations: 70.72 kB / 493.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3283, allocations: 62.46 MB / 0.5428 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005676/0.334, allocations: 4.073 MB / 0.5467 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3356, allocations: 0.9169 MB / 0.5476 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.3358, allocations: 14.62 kB / 0.5477 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.336, allocations: 39.42 kB / 0.5477 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005405/0.3365, allocations: 173.5 kB / 0.5479 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.3367, allocations: 82.66 kB / 0.5479 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004747/0.3372, allocations: 372.3 kB / 0.5483 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.3374, allocations: 65.47 kB / 0.5484 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.3377, allocations: 170.7 kB / 0.5485 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003537/0.3381, allocations: 180.8 kB / 0.5487 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.3381, allocations: 17.28 kB / 0.5487 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.352e-05/0.3382, allocations: 20.12 kB / 0.5487 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.3383, allocations: 78.83 kB / 0.5488 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.3384, allocations: 128 kB / 0.5489 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.3388, allocations: 255.2 kB / 0.5492 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3388, allocations: 0 / 0.5492 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3388, allocations: 1.312 kB / 0.5492 GB, free: 11.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3388, allocations: 0 / 0.5492 GB, free: 11.52 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009941/0.3398, allocations: 0.4979 MB / 0.5497 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3399, allocations: 14.48 kB / 0.5497 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.172e-05/0.3399, allocations: 4.438 kB / 0.5497 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.597e-05/0.3399, allocations: 54.36 kB / 0.5497 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.34, allocations: 33.83 kB / 0.5498 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.3406, allocations: 275.6 kB / 0.55 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.3406, allocations: 20.28 kB / 0.55 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.3406, allocations: 21.31 kB / 0.5501 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/0.3411, allocations: 270.9 kB / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3411, allocations: 1.438 kB / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.3411, allocations: 6.812 kB / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.3411, allocations: 4.594 kB / 0.5503 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.3414, allocations: 164.7 kB / 0.5505 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.3428, allocations: 1.14 MB / 0.5516 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3429, allocations: 72.83 kB / 0.5517 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.343, allocations: 32.03 kB / 0.5517 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.343, allocations: 5.406 kB / 0.5517 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.343, allocations: 39.81 kB / 0.5517 GB, free: 9.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.343, allocations: 0 / 0.5517 GB, free: 9.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006878/0.3437, allocations: 341.6 kB / 0.5521 GB, free: 8.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.3438, allocations: 77.11 kB / 0.5521 GB, free: 8.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.344, allocations: 253.2 kB / 0.5524 GB, free: 8.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3441, allocations: 27.11 kB / 0.5524 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.3442, allocations: 191.4 kB / 0.5526 GB, free: 8.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.3442, allocations: 35.92 kB / 0.5526 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/0.3443, allocations: 35.69 kB / 0.5527 GB, free: 8.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3445, allocations: 331.2 kB / 0.553 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.473e-05/0.3445, allocations: 26.98 kB / 0.553 GB, free: 8.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3447, allocations: 127.1 kB / 0.5531 GB, free: 7.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.3449, allocations: 164.7 kB / 0.5533 GB, free: 7.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3449, allocations: 1.219 kB / 0.5533 GB, free: 7.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002825/0.3451, allocations: 190.9 kB / 0.5535 GB, free: 7.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3452, allocations: 9.906 kB / 0.5535 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3452, allocations: 3.344 kB / 0.5535 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3452, allocations: 9.641 kB / 0.5535 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3453, allocations: 40.27 kB / 0.5535 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3454, allocations: 8.125 kB / 0.5535 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.921e-05/0.3455, allocations: 8.094 kB / 0.5535 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.3455, allocations: 7.688 kB / 0.5535 GB, free: 7.625 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.3456, allocations: 151 kB / 0.5537 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/0.3457, allocations: 28.86 kB / 0.5537 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.3459, allocations: 98.28 kB / 0.5538 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3459, allocations: 1.188 kB / 0.5538 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3459, allocations: 0 / 0.5538 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.3459, allocations: 1.062 kB / 0.5538 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.3464, allocations: 396.8 kB / 0.5542 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3464, allocations: 5.062 kB / 0.5542 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.062e-05/0.3464, allocations: 17.02 kB / 0.5542 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3464, allocations: 1.406 kB / 0.5542 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3465, allocations: 9.125 kB / 0.5542 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3465, allocations: 2.219 kB / 0.5542 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3465, allocations: 0 / 0.5542 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.3467, allocations: 232.5 kB / 0.5544 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.3468, allocations: 17.67 kB / 0.5545 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.3468, allocations: 6.688 kB / 0.5545 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.3469, allocations: 5.312 kB / 0.5545 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.3469, allocations: 10.28 kB / 0.5545 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3469, allocations: 2.469 kB / 0.5545 GB, free: 6.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.3471, allocations: 172.1 kB / 0.5547 GB, free: 6.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3471, allocations: 0 / 0.5547 GB, free: 6.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003075/0.3474, allocations: 39.28 kB / 0.5547 GB, free: 6.656 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0005255/0.3479, allocations: 0.7593 MB / 0.5554 GB, free: 5.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.3481, allocations: 86.66 kB / 0.5555 GB, free: 5.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3481, allocations: 1.5 kB / 0.5555 GB, free: 5.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.972e-05/0.3481, allocations: 27.55 kB / 0.5555 GB, free: 5.879 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.3486, allocations: 60.73 kB / 0.5556 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.3513, allocations: 2.311 MB / 0.5579 GB, free: 3.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.3518, allocations: 0.7584 MB / 0.5586 GB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.3519, allocations: 35.61 kB / 0.5586 GB, free: 3.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.352, allocations: 74.88 kB / 0.5587 GB, free: 3.055 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.352, allocations: 4 kB / 0.5587 GB, free: 3.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.3798, allocations: 4.395 MB / 0.563 GB, free: 15.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.92, allocations: 10.88 kB / 0.563 GB, free: 15.22 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Source.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.794555588974617] Failed to read output from testmodel.py, exit status != 0: 12.085539968975354 12.105186375 11.762301684 Calling exit ...