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.0008388/0.0008388, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0007951/0.0007951, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8758/0.8758, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2263/0.2263, allocations: 29.41 MB / 290.1 MB, free: 2.445 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.035e-05, allocations: 2.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.003928/0.003948, allocations: 4.006 MB / 434.2 MB, free: 9.578 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.005041, allocations: 0.8842 MB / 435.1 MB, free: 8.691 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.005194, allocations: 15.81 kB / 435.1 MB, free: 8.676 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.005363, allocations: 47.56 kB / 435.2 MB, free: 8.629 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.005766, allocations: 186.8 kB / 435.3 MB, free: 8.445 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.005926, allocations: 99.75 kB / 435.4 MB, free: 8.348 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.006235, allocations: 410.3 kB / 435.8 MB, free: 7.945 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.006414, allocations: 82.61 kB / 435.9 MB, free: 7.859 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002976/0.006712, allocations: 243.3 kB / 436.2 MB, free: 7.621 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.00693, allocations: 159.5 kB / 436.3 MB, free: 7.465 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.006962, allocations: 20 kB / 436.3 MB, free: 7.445 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.003e-05/0.006992, allocations: 20 kB / 436.4 MB, free: 7.426 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.045e-05/0.007073, allocations: 103.6 kB / 436.5 MB, free: 7.324 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.575e-05/0.007158, allocations: 99.73 kB / 436.6 MB, free: 7.227 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.007414, allocations: 279 kB / 436.8 MB, free: 6.953 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.007417, allocations: 0 / 436.8 MB, free: 6.953 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.007418, allocations: 0 / 436.8 MB, free: 6.953 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.007423, allocations: 4 kB / 436.8 MB, free: 6.949 MB / 410.7 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.0006601/0.008083, allocations: 0.5178 MB / 437.4 MB, free: 6.402 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.008125, allocations: 23.97 kB / 437.4 MB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.008177, allocations: 58.73 kB / 437.4 MB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.008223, allocations: 40.64 kB / 437.5 MB, free: 6.273 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.008567, allocations: 271.7 kB / 437.7 MB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.008582, allocations: 20.88 kB / 437.8 MB, free: 5.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.008615, allocations: 24.36 kB / 437.8 MB, free: 5.941 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.008908, allocations: 291.5 kB / 438.1 MB, free: 5.621 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.008919, allocations: 4 kB / 438.1 MB, free: 5.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.008936, allocations: 8 kB / 438.1 MB, free: 5.609 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.008943, allocations: 8 kB / 438.1 MB, free: 5.602 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.009144, allocations: 180.9 kB / 438.3 MB, free: 5.426 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008891/0.01003, allocations: 1.147 MB / 439.4 MB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.01027, allocations: 109.2 kB / 439.5 MB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.01032, allocations: 41.77 kB / 439.6 MB, free: 4.023 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.01033, allocations: 0 / 439.6 MB, free: 4.023 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.01035, allocations: 38.56 kB / 439.6 MB, free: 3.977 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.01036, allocations: 4 kB / 439.6 MB, free: 3.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006445/0.011, allocations: 416.6 kB / 440 MB, free: 3.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.01104, allocations: 81.09 kB / 440.1 MB, free: 3.434 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.01121, allocations: 254 kB / 440.3 MB, free: 3.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.01122, allocations: 25.7 kB / 440.4 MB, free: 3.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.261e-05/0.01131, allocations: 212 kB / 440.6 MB, free: 2.938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.01134, allocations: 39.69 kB / 440.6 MB, free: 2.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.01138, allocations: 45.66 kB / 440.6 MB, free: 2.848 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.01147, allocations: 334.8 kB / 441 MB, free: 2.512 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.793e-05/0.01152, allocations: 43.97 kB / 441 MB, free: 2.469 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.01186, allocations: 124.9 kB / 441.1 MB, free: 2.301 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.012, allocations: 188.6 kB / 441.3 MB, free: 2.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01201, allocations: 4 kB / 441.3 MB, free: 2.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001992/0.0122, allocations: 209.5 kB / 441.5 MB, free: 1.855 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.01222, allocations: 4 kB / 441.5 MB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01223, allocations: 4 kB / 441.5 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.01224, allocations: 7.938 kB / 441.5 MB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.975e-05/0.01234, allocations: 51.91 kB / 441.6 MB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.01235, allocations: 7.938 kB / 441.6 MB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.01241, allocations: 4 kB / 441.6 MB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.01242, allocations: 12 kB / 441.6 MB, free: 1.766 MB / 410.7 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.0001022/0.01252, allocations: 161.6 kB / 441.8 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.01255, allocations: 27.95 kB / 441.8 MB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.01272, allocations: 127.4 kB / 441.9 MB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01272, allocations: 4 kB / 441.9 MB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01272, allocations: 0 / 441.9 MB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01273, allocations: 0 / 441.9 MB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.0131, allocations: 450.2 kB / 442.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01311, allocations: 0 / 442.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-05/0.01318, allocations: 23.94 kB / 442.4 MB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01319, allocations: 0 / 442.4 MB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.01319, allocations: 8.078 kB / 442.4 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.0132, allocations: 3.938 kB / 442.4 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.0132, allocations: 7.969 kB / 442.4 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.01342, allocations: 273.3 kB / 442.7 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.01344, allocations: 19.89 kB / 442.7 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.01346, allocations: 0 / 442.7 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.061e-05/0.01351, allocations: 4 kB / 442.7 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.01353, allocations: 19.84 kB / 442.7 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.01354, allocations: 7.984 kB / 442.7 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.316e-05/0.01363, allocations: 169.2 kB / 442.9 MB, free: 400 kB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01363, allocations: 0 / 442.9 MB, free: 400 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001986/0.01383, allocations: 44 kB / 442.9 MB, free: 356 kB / 410.7 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.1566/0.1704, allocations: 0.8168 MB / 443.8 MB, free: 53.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1706, allocations: 101.3 kB / 443.9 MB, free: 53.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1706, allocations: 0 / 443.9 MB, free: 53.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.878e-05/0.1707, allocations: 49.19 kB / 443.9 MB, free: 53.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.1711, allocations: 58.53 kB / 444 MB, free: 53.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.1726, allocations: 2.391 MB / 446.4 MB, free: 52.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.455e-05/0.1727, allocations: 165.8 kB / 446.5 MB, free: 52.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.591e-05/0.1728, allocations: 34.38 kB / 446.5 MB, free: 52.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.1729, allocations: 84.7 kB / 446.6 MB, free: 52.31 MB / 410.7 MB Notification: Performance of SimCode: time 5.82e-07/0.1729, allocations: 0 / 446.6 MB, free: 52.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.1905, allocations: 5.44 MB / 452.1 MB, free: 51.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.544/6.735, allocations: 3.312 kB / 452.1 MB, free: 51.16 MB / 410.7 MB " [Timeout remaining time 653] (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: 8.535352604463696] Failed to read output from testmodel.py, exit status != 0: 6.81770290248096 6.828673143 6.819260217 Calling exit ...