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.001768/0.001768, allocations: 119.9 kB / 17.79 MB, free: 5.137 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.002006/0.002006, allocations: 185.2 kB / 20.73 MB, free: 2.207 MB / 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.524/1.524, allocations: 225.6 MB / 249.1 MB, free: 3.574 MB / 190.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.2122/0.2122, allocations: 38.51 MB / 342.5 MB, free: 8.027 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: "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 68.7 kB / 478.6 MB, free: 33.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1394, allocations: 61.24 MB / 0.5272 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006988/0.1464, allocations: 4.47 MB / 0.5316 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.1491, allocations: 1.422 MB / 0.533 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.1494, allocations: 15.94 kB / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.1506, allocations: 390.3 kB / 0.5333 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000679/0.1513, allocations: 254.8 kB / 0.5336 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000707/0.152, allocations: 243.4 kB / 0.5338 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000704/0.1527, allocations: 0.5573 MB / 0.5344 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004406/0.1531, allocations: 225.1 kB / 0.5346 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004797/0.1536, allocations: 263 kB / 0.5348 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005607/0.1542, allocations: 382.8 kB / 0.5352 GB, free: 9.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.835e-05/0.1543, allocations: 40 kB / 0.5352 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000528/0.1548, allocations: 235.6 kB / 0.5355 GB, free: 8.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.155, allocations: 243.4 kB / 0.5357 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.1553, allocations: 258.7 kB / 0.5359 GB, free: 8.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000839/0.1562, allocations: 0.6694 MB / 0.5366 GB, free: 7.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1562, allocations: 0 / 0.5366 GB, free: 7.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1562, allocations: 0 / 0.5366 GB, free: 7.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.1562, allocations: 0 / 0.5366 GB, free: 7.707 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.001549/0.1577, allocations: 0.7887 MB / 0.5374 GB, free: 6.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1578, allocations: 15.89 kB / 0.5374 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.1579, allocations: 82.7 kB / 0.5374 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006091/0.1585, allocations: 96.55 kB / 0.5375 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008814/0.1594, allocations: 435.3 kB / 0.538 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.1594, allocations: 33.34 kB / 0.538 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.1596, allocations: 47.94 kB / 0.538 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1606, allocations: 0.6804 MB / 0.5387 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.1606, allocations: 0 / 0.5387 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.481e-05/0.1607, allocations: 12 kB / 0.5387 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001879/0.1609, allocations: 52.95 kB / 0.5388 GB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.162, allocations: 0.6752 MB / 0.5394 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004416/0.1664, allocations: 2.426 MB / 0.5418 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.167, allocations: 327.9 kB / 0.5421 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.1674, allocations: 233.9 kB / 0.5423 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.1674, allocations: 8.266 kB / 0.5423 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.1675, allocations: 42.78 kB / 0.5424 GB, free: 1.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 4.238e-06/0.1675, allocations: 3.984 kB / 0.5424 GB, free: 1.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002921/0.1704, allocations: 1.487 MB / 0.5438 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.106e-05/0.1705, allocations: 81.11 kB / 0.5439 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.1708, allocations: 279 kB / 0.5442 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.1708, allocations: 33.7 kB / 0.5442 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.171, allocations: 252.2 kB / 0.5444 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.1712, allocations: 162.5 kB / 0.5446 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.1714, allocations: 102.2 kB / 0.5447 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.1716, allocations: 346.8 kB / 0.545 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.1719, allocations: 225 kB / 0.5452 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.1724, allocations: 361.8 kB / 0.5456 GB, free: 14.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009153/0.1733, allocations: 0.6278 MB / 0.5462 GB, free: 13.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1733, allocations: 0 / 0.5462 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001431/0.1747, allocations: 0.7159 MB / 0.5469 GB, free: 12.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.1748, allocations: 11.94 kB / 0.5469 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009195/0.1757, allocations: 0.5108 MB / 0.5474 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004555/0.1761, allocations: 85.22 kB / 0.5475 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.1766, allocations: 107.8 kB / 0.5476 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.1785, allocations: 1.726 MB / 0.5493 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.1789, allocations: 27.97 kB / 0.5493 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.1789, allocations: 20 kB / 0.5493 GB, free: 9.992 MB / 414.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.0003116/0.1792, allocations: 209.7 kB / 0.5495 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.1794, allocations: 47.69 kB / 0.5496 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.1804, allocations: 0.5668 MB / 0.5501 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.998e-05/0.1805, allocations: 15.98 kB / 0.5501 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1805, allocations: 4.141 kB / 0.5501 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.1805, allocations: 3.984 kB / 0.5501 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.1827, allocations: 1.192 MB / 0.5513 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.1827, allocations: 8.031 kB / 0.5513 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/0.1831, allocations: 83.88 kB / 0.5514 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.1831, allocations: 4 kB / 0.5514 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.1831, allocations: 8 kB / 0.5514 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.1831, allocations: 4 kB / 0.5514 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1831, allocations: 0 / 0.5514 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.1846, allocations: 0.928 MB / 0.5523 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.1847, allocations: 120.8 kB / 0.5524 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.1848, allocations: 12.03 kB / 0.5524 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.185, allocations: 15.98 kB / 0.5525 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.1851, allocations: 31.77 kB / 0.5525 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.1851, allocations: 11.98 kB / 0.5525 GB, free: 6.609 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002215/0.1853, allocations: 202 kB / 0.5527 GB, free: 6.414 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1853, allocations: 0 / 0.5527 GB, free: 6.414 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005625/0.1859, allocations: 124 kB / 0.5528 GB, free: 6.293 MB / 414.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.001928/0.1878, allocations: 1.51 MB / 0.5543 GB, free: 4.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.1891, allocations: 0.6298 MB / 0.5549 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1891, allocations: 0 / 0.5549 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.1895, allocations: 235.5 kB / 0.5551 GB, free: 3.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.19, allocations: 73.28 kB / 0.5552 GB, free: 3.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/0.197, allocations: 4.586 MB / 0.5597 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/0.1977, allocations: 0.8821 MB / 0.5605 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003718/0.198, allocations: 131.1 kB / 0.5607 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.1983, allocations: 147.4 kB / 0.5608 GB, free: 13.8 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1983, allocations: 0 / 0.5608 GB, free: 13.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04032/0.2386, allocations: 8.733 MB / 0.5693 GB, free: 5.242 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.03, allocations: 2.344 kB / 0.5693 GB, free: 5.242 MB / 430.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.250200373586267]