Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001203/0.001203, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001324/0.001324, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.349/1.349, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1768/0.1768, allocations: 38.52 MB / 353.2 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") [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.001929/0.001929, allocations: 59.91 kB / 493.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3068, allocations: 62.48 MB / 0.5432 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006094/0.3129, allocations: 4.734 MB / 0.5479 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.3156, allocations: 1.53 MB / 0.5494 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.3158, allocations: 21.06 kB / 0.5494 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.3169, allocations: 385.6 kB / 0.5497 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005709/0.3175, allocations: 238.8 kB / 0.55 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000751/0.3182, allocations: 262.9 kB / 0.5502 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000662/0.3189, allocations: 0.5609 MB / 0.5508 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004216/0.3193, allocations: 251.5 kB / 0.551 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.3197, allocations: 267.4 kB / 0.5513 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004953/0.3202, allocations: 343.4 kB / 0.5516 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.403e-05/0.3203, allocations: 35.56 kB / 0.5516 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.3206, allocations: 163 kB / 0.5518 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.3209, allocations: 242.3 kB / 0.552 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.3211, allocations: 247.1 kB / 0.5522 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007751/0.3219, allocations: 0.6037 MB / 0.5528 GB, free: 9.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3219, allocations: 0 / 0.5528 GB, free: 9.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3219, allocations: 0 / 0.5528 GB, free: 9.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3219, allocations: 0 / 0.5528 GB, free: 9.375 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001422/0.3234, allocations: 0.7208 MB / 0.5535 GB, free: 8.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3234, allocations: 13.14 kB / 0.5536 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007937/0.3242, allocations: 123.8 kB / 0.5537 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006806/0.3249, allocations: 348.8 kB / 0.554 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.3249, allocations: 35 kB / 0.554 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.325, allocations: 56.56 kB / 0.5541 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009165/0.326, allocations: 0.6439 MB / 0.5547 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.326, allocations: 2.219 kB / 0.5547 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.326, allocations: 17.88 kB / 0.5547 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.3261, allocations: 28.17 kB / 0.5548 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007519/0.3269, allocations: 484.5 kB / 0.5552 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/0.3303, allocations: 2.951 MB / 0.5581 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.3306, allocations: 173 kB / 0.5583 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.3308, allocations: 101.7 kB / 0.5584 GB, free: 4.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3308, allocations: 0 / 0.5584 GB, free: 4.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.3308, allocations: 38.56 kB / 0.5584 GB, free: 4.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.072e-06/0.3308, allocations: 0 / 0.5584 GB, free: 4.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001393/0.3322, allocations: 0.7834 MB / 0.5592 GB, free: 3.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.3323, allocations: 77.11 kB / 0.5592 GB, free: 3.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.3326, allocations: 349.6 kB / 0.5596 GB, free: 3.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.3327, allocations: 25.7 kB / 0.5596 GB, free: 3.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.3329, allocations: 311.8 kB / 0.5599 GB, free: 2.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/0.333, allocations: 91.2 kB / 0.56 GB, free: 2.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.3331, allocations: 90.2 kB / 0.5601 GB, free: 2.785 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3333, allocations: 346.8 kB / 0.5604 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.3335, allocations: 124.8 kB / 0.5605 GB, free: 2.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.3338, allocations: 326.8 kB / 0.5608 GB, free: 1.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005938/0.3344, allocations: 0.4892 MB / 0.5613 GB, free: 1.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3344, allocations: 4 kB / 0.5613 GB, free: 1.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009984/0.3354, allocations: 0.5719 MB / 0.5619 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3354, allocations: 10.66 kB / 0.5619 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005074/0.3359, allocations: 282.4 kB / 0.5622 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003398/0.3363, allocations: 80.78 kB / 0.5622 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.3366, allocations: 92.17 kB / 0.5623 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.3383, allocations: 1.615 MB / 0.5639 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.3386, allocations: 23.98 kB / 0.5639 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.3386, allocations: 24 kB / 0.5639 GB, free: 14.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003007/0.3389, allocations: 213.5 kB / 0.5641 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.339, allocations: 39.77 kB / 0.5642 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004813/0.3395, allocations: 284.6 kB / 0.5645 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-06/0.3395, allocations: 8.062 kB / 0.5645 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3395, allocations: 3.984 kB / 0.5645 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3395, allocations: 0 / 0.5645 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.3406, allocations: 0.7636 MB / 0.5652 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3406, allocations: 0 / 0.5652 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.3409, allocations: 59.91 kB / 0.5653 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3409, allocations: 4.062 kB / 0.5653 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.3409, allocations: 8 kB / 0.5653 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3409, allocations: 4 kB / 0.5653 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3409, allocations: 4.078 kB / 0.5653 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.3415, allocations: 481.8 kB / 0.5657 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.3416, allocations: 35.7 kB / 0.5658 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.3416, allocations: 12.03 kB / 0.5658 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.3418, allocations: 11.94 kB / 0.5658 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.3418, allocations: 15.97 kB / 0.5658 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.3418, allocations: 4 kB / 0.5658 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002233/0.3421, allocations: 235.2 kB / 0.566 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3421, allocations: 0 / 0.566 GB, free: 12.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004577/0.3425, allocations: 99.98 kB / 0.5661 GB, free: 12.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (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.0001285/0.3427, allocations: 107.2 kB / 0.5662 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007318/0.3434, allocations: 423.8 kB / 0.5667 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3434, allocations: 4.188 kB / 0.5667 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.3436, allocations: 111.8 kB / 0.5668 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.344, allocations: 72.08 kB / 0.5668 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.3457, allocations: 1.053 MB / 0.5679 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.3461, allocations: 0.8662 MB / 0.5687 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-05/0.3462, allocations: 35.42 kB / 0.5687 GB, free: 9.391 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3462, allocations: 0 / 0.5687 GB, free: 9.391 MB / 414.1 MB Notification: Performance of Templates: time 0.008552/0.3548, allocations: 5.743 MB / 0.5743 GB, free: 3.648 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.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: 7.747636714950204]