Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001581/0.001581, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001945/0.001945, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.524/1.524, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.1844/0.1844, allocations: 38.54 MB / 353.2 MB, free: 12.32 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.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",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.002151/0.002151, allocations: 71.89 kB / 493.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3219, allocations: 62.46 MB / 0.5427 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.00708/0.329, allocations: 3.995 MB / 0.5466 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.3312, allocations: 0.8816 MB / 0.5475 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.3314, allocations: 19.53 kB / 0.5475 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.3317, allocations: 43.78 kB / 0.5475 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006949/0.3324, allocations: 187.3 kB / 0.5477 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.3326, allocations: 88.39 kB / 0.5478 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006621/0.3333, allocations: 402.2 kB / 0.5482 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.3336, allocations: 83.05 kB / 0.5483 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.3341, allocations: 184.3 kB / 0.5484 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.3346, allocations: 194.5 kB / 0.5486 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.715e-05/0.3347, allocations: 18.81 kB / 0.5486 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.285e-05/0.3348, allocations: 24.34 kB / 0.5487 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.3349, allocations: 95.78 kB / 0.5488 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.3351, allocations: 108.6 kB / 0.5489 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006083/0.3358, allocations: 299.9 kB / 0.5491 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3358, allocations: 0 / 0.5491 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3358, allocations: 0 / 0.5491 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3358, allocations: 3.938 kB / 0.5491 GB, free: 11.4 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001266/0.337, allocations: 0.5251 MB / 0.5497 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.3371, allocations: 17.7 kB / 0.5497 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.927e-05/0.3371, allocations: 10.06 kB / 0.5497 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.369e-05/0.3372, allocations: 58.09 kB / 0.5497 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.267e-05/0.3373, allocations: 31.94 kB / 0.5498 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.3378, allocations: 286.8 kB / 0.55 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.3378, allocations: 17.34 kB / 0.5501 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.3379, allocations: 18.72 kB / 0.5501 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.3383, allocations: 291.7 kB / 0.5504 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3383, allocations: 1.219 kB / 0.5504 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.3384, allocations: 6.562 kB / 0.5504 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.3384, allocations: 5.094 kB / 0.5504 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.3387, allocations: 186.6 kB / 0.5505 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.3403, allocations: 1.148 MB / 0.5517 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.3406, allocations: 103 kB / 0.5518 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.016e-05/0.3407, allocations: 41.83 kB / 0.5518 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3407, allocations: 6.297 kB / 0.5518 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.3408, allocations: 36.84 kB / 0.5518 GB, free: 9.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.3408, allocations: 0 / 0.5518 GB, free: 9.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000869/0.3417, allocations: 420.9 kB / 0.5522 GB, free: 8.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.3417, allocations: 78.39 kB / 0.5523 GB, free: 8.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.342, allocations: 248 kB / 0.5526 GB, free: 8.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.342, allocations: 31.11 kB / 0.5526 GB, free: 8.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.3421, allocations: 204.8 kB / 0.5528 GB, free: 8.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.3422, allocations: 41.17 kB / 0.5528 GB, free: 8.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.3422, allocations: 47.94 kB / 0.5529 GB, free: 8.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3424, allocations: 337.4 kB / 0.5532 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.276e-05/0.3425, allocations: 35.05 kB / 0.5532 GB, free: 7.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.3426, allocations: 130.3 kB / 0.5533 GB, free: 7.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.3429, allocations: 191.9 kB / 0.5535 GB, free: 7.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3429, allocations: 0 / 0.5535 GB, free: 7.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003214/0.3432, allocations: 206.8 kB / 0.5537 GB, free: 7.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3432, allocations: 6.312 kB / 0.5537 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3432, allocations: 3.312 kB / 0.5537 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3432, allocations: 4.438 kB / 0.5537 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.3434, allocations: 46.44 kB / 0.5538 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.3434, allocations: 13.25 kB / 0.5538 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.3435, allocations: 7.344 kB / 0.5538 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.3435, allocations: 8.781 kB / 0.5538 GB, free: 7.383 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 (24): * Single equations (assignments): 24 * 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.0001777/0.3437, allocations: 165.9 kB / 0.554 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.3438, allocations: 22.14 kB / 0.554 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.344, allocations: 125.6 kB / 0.5541 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.344, allocations: 2.156 kB / 0.5541 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.344, allocations: 5 kB / 0.5541 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.344, allocations: 192 / 0.5541 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.3446, allocations: 449.8 kB / 0.5545 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3446, allocations: 5 kB / 0.5546 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.3447, allocations: 26.06 kB / 0.5546 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.3447, allocations: 9.297 kB / 0.5546 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3448, allocations: 9.625 kB / 0.5546 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3448, allocations: 2.125 kB / 0.5546 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3448, allocations: 1.188 kB / 0.5546 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.3451, allocations: 275.2 kB / 0.5549 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.3452, allocations: 17.89 kB / 0.5549 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.3452, allocations: 6.375 kB / 0.5549 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3453, allocations: 5.125 kB / 0.5549 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.3453, allocations: 12.42 kB / 0.5549 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3453, allocations: 7.516 kB / 0.5549 GB, free: 6.461 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.3455, allocations: 173.7 kB / 0.5551 GB, free: 6.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3455, allocations: 64 / 0.5551 GB, free: 6.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.3458, allocations: 47.84 kB / 0.5551 GB, free: 6.328 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 (13): * Single equations (assignments): 12 * 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.0006384/0.3465, allocations: 0.8128 MB / 0.5559 GB, free: 5.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.3467, allocations: 105.7 kB / 0.556 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.3467, allocations: 8.875 kB / 0.556 GB, free: 5.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/0.3468, allocations: 40.08 kB / 0.5561 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.3473, allocations: 67.83 kB / 0.5561 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.3501, allocations: 2.443 MB / 0.5585 GB, free: 3.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.3503, allocations: 174.8 kB / 0.5587 GB, free: 3.219 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.3504, allocations: 34.27 kB / 0.5587 GB, free: 3.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.3505, allocations: 83.34 kB / 0.5588 GB, free: 3.105 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3505, allocations: 0 / 0.5588 GB, free: 3.105 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.3792, allocations: 4.992 MB / 0.5637 GB, free: 14.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.05, allocations: 9.719 kB / 0.5637 GB, free: 14.28 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.930194900021888] Failed to read output from testmodel.py, exit status != 0: 12.217190971947275 12.246850671 11.904794052 Calling exit ...