Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1826/0.1826, allocations: 38.53 MB / 344.5 MB, free: 2.574 MB / 270.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.89 kB / 482 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3404, allocations: 61.24 MB / 0.5305 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005127/0.3456, allocations: 4.542 MB / 0.535 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.3475, allocations: 1.439 MB / 0.5364 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.3476, allocations: 13.22 kB / 0.5364 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009287/0.3485, allocations: 389.4 kB / 0.5368 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.349, allocations: 260.2 kB / 0.537 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.3495, allocations: 243.6 kB / 0.5373 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.3499, allocations: 0.5585 MB / 0.5378 GB, free: 348 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003109/0.3503, allocations: 191.4 kB / 0.538 GB, free: 228 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.3505, allocations: 266.2 kB / 0.5382 GB, free: 72 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.351, allocations: 373.7 kB / 0.5386 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.251e-05/0.3511, allocations: 39.94 kB / 0.5386 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004712/0.3516, allocations: 240.9 kB / 0.5389 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.3518, allocations: 240.7 kB / 0.5391 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.3521, allocations: 260.8 kB / 0.5393 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008413/0.353, allocations: 0.6737 MB / 0.54 GB, free: 14.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.353, allocations: 0 / 0.54 GB, free: 14.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.353, allocations: 1.219 kB / 0.54 GB, free: 14.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.353, allocations: 0 / 0.54 GB, free: 14.99 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001541/0.3545, allocations: 0.7851 MB / 0.5408 GB, free: 14.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3546, allocations: 13.61 kB / 0.5408 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006436/0.3552, allocations: 97.69 kB / 0.5409 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007394/0.3559, allocations: 429.9 kB / 0.5413 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.356, allocations: 28.5 kB / 0.5413 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.3561, allocations: 54.97 kB / 0.5414 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.3572, allocations: 0.6758 MB / 0.542 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.3572, allocations: 5.297 kB / 0.542 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.3572, allocations: 12.09 kB / 0.542 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001765/0.3574, allocations: 54.08 kB / 0.5421 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.3585, allocations: 0.6691 MB / 0.5427 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00364/0.3621, allocations: 2.433 MB / 0.5451 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.3627, allocations: 341.3 kB / 0.5454 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.3631, allocations: 222.3 kB / 0.5457 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.3631, allocations: 8.719 kB / 0.5457 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3632, allocations: 36.14 kB / 0.5457 GB, free: 10.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.194e-06/0.3632, allocations: 0 / 0.5457 GB, free: 10.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002531/0.3657, allocations: 1.487 MB / 0.5471 GB, free: 9.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.3658, allocations: 80.83 kB / 0.5472 GB, free: 9.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.3661, allocations: 284.2 kB / 0.5475 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.3661, allocations: 31.08 kB / 0.5475 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.3663, allocations: 255.1 kB / 0.5478 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.3665, allocations: 171.5 kB / 0.5479 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.3666, allocations: 93.73 kB / 0.548 GB, free: 9.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3668, allocations: 353.9 kB / 0.5484 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.3672, allocations: 216.1 kB / 0.5486 GB, free: 8.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.3676, allocations: 364.9 kB / 0.5489 GB, free: 8.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008511/0.3685, allocations: 0.6283 MB / 0.5495 GB, free: 8.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3685, allocations: 1.281 kB / 0.5495 GB, free: 8.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001339/0.3698, allocations: 0.7198 MB / 0.5502 GB, free: 7.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.3698, allocations: 17.62 kB / 0.5502 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009204/0.3707, allocations: 0.5193 MB / 0.5508 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003445/0.3711, allocations: 72.73 kB / 0.5508 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.3715, allocations: 107.9 kB / 0.5509 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.3733, allocations: 1.734 MB / 0.5526 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.3736, allocations: 27.95 kB / 0.5526 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/0.3737, allocations: 24 kB / 0.5527 GB, free: 5.328 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002745/0.3739, allocations: 206 kB / 0.5529 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.374, allocations: 47.77 kB / 0.5529 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009659/0.375, allocations: 0.5667 MB / 0.5535 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.375, allocations: 8 kB / 0.5535 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.375, allocations: 4 kB / 0.5535 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.375, allocations: 3.984 kB / 0.5535 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.377, allocations: 1.192 MB / 0.5546 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.377, allocations: 0 / 0.5546 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.3775, allocations: 87.88 kB / 0.5547 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3775, allocations: 0 / 0.5547 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.3775, allocations: 8 kB / 0.5547 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.3775, allocations: 7.938 kB / 0.5547 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3775, allocations: 0 / 0.5547 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.3788, allocations: 0.9433 MB / 0.5557 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.3789, allocations: 108.9 kB / 0.5558 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.379, allocations: 8.234 kB / 0.5558 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.3792, allocations: 19.97 kB / 0.5558 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.3793, allocations: 35.7 kB / 0.5558 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.3793, allocations: 23.98 kB / 0.5559 GB, free: 1.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002214/0.3796, allocations: 197.9 kB / 0.556 GB, free: 1.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3796, allocations: 0 / 0.556 GB, free: 1.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005712/0.3801, allocations: 119.9 kB / 0.5562 GB, free: 1.629 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (39): * Single equations (assignments): 36 * Array equations: 2 * 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.0002428/0.3804, allocations: 127.2 kB / 0.5563 GB, free: 1.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.3816, allocations: 0.6407 MB / 0.5569 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3816, allocations: 0 / 0.5569 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.382, allocations: 231.5 kB / 0.5571 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.3825, allocations: 77.72 kB / 0.5572 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.3844, allocations: 1.18 MB / 0.5584 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/0.385, allocations: 0.8782 MB / 0.5592 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003166/0.3853, allocations: 127.1 kB / 0.5593 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.3854, allocations: 31.44 kB / 0.5594 GB, free: 14.25 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3854, allocations: 0 / 0.5594 GB, free: 14.25 MB / 414.1 MB Notification: Performance of Templates: time 0.0101/0.3955, allocations: 4.858 MB / 0.5641 GB, free: 9.422 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.188187072053552]