Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.00118/0.00118, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001342/0.001342, allocations: 168.3 kB / 25.61 MB, free: 8.594 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.9849/0.9849, allocations: 177.1 MB / 206 MB, free: 4.527 MB / 186.7 MB " [Timeout remaining time 179] 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.1331/0.1331, allocations: 29.42 MB / 292 MB, free: 2.664 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3704,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3704,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.302e-05, allocations: 2.312 kB / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.007026/0.007049, allocations: 3.92 MB / 374.8 MB, free: 28.39 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.008093, allocations: 0.8495 MB / 375.7 MB, free: 27.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.008231, allocations: 15.88 kB / 375.7 MB, free: 27.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.008418, allocations: 47.52 kB / 375.7 MB, free: 27.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.008802, allocations: 170.9 kB / 375.9 MB, free: 27.31 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.008973, allocations: 83.81 kB / 376 MB, free: 27.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.009263, allocations: 410.4 kB / 376.4 MB, free: 26.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.009442, allocations: 78.69 kB / 376.4 MB, free: 26.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.009783, allocations: 279.2 kB / 376.7 MB, free: 26.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.009981, allocations: 139.6 kB / 376.9 MB, free: 26.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.01001, allocations: 20 kB / 376.9 MB, free: 26.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.072e-05/0.01005, allocations: 20 kB / 376.9 MB, free: 26.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.01012, allocations: 91.67 kB / 377 MB, free: 26.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.876e-05/0.0102, allocations: 95.73 kB / 377.1 MB, free: 26.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.01042, allocations: 211.1 kB / 377.3 MB, free: 25.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.01042, allocations: 4 kB / 377.3 MB, free: 25.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01042, allocations: 0 / 377.3 MB, free: 25.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.01043, allocations: 0 / 377.3 MB, free: 25.91 MB / 314.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.0005847/0.01102, allocations: 0.6095 MB / 377.9 MB, free: 25.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.01105, allocations: 8.031 kB / 377.9 MB, free: 25.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.0111, allocations: 48.7 kB / 377.9 MB, free: 25.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.01134, allocations: 271.4 kB / 378.2 MB, free: 24.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.01135, allocations: 20.88 kB / 378.2 MB, free: 24.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.299e-05/0.01143, allocations: 32.73 kB / 378.3 MB, free: 24.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.0116, allocations: 237.6 kB / 378.5 MB, free: 24.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.01161, allocations: 0 / 378.5 MB, free: 24.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.01163, allocations: 12 kB / 378.5 MB, free: 24.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.01164, allocations: 4 kB / 378.5 MB, free: 24.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.256e-05/0.01172, allocations: 83.78 kB / 378.6 MB, free: 24.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000747/0.01246, allocations: 1.475 MB / 380.1 MB, free: 22.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.01265, allocations: 129.2 kB / 380.2 MB, free: 22.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.01268, allocations: 43.11 kB / 380.2 MB, free: 22.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.0127, allocations: 8 kB / 380.2 MB, free: 22.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.01272, allocations: 41.33 kB / 380.3 MB, free: 22.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.01272, allocations: 0 / 380.3 MB, free: 22.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004277/0.01314, allocations: 305.3 kB / 380.6 MB, free: 22.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.01317, allocations: 106.8 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.01327, allocations: 292.1 kB / 381 MB, free: 21.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.01328, allocations: 25.7 kB / 381 MB, free: 21.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.01334, allocations: 250.7 kB / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.01336, allocations: 39.67 kB / 381.3 MB, free: 21.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.0134, allocations: 55.3 kB / 381.3 MB, free: 21.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.448e-05/0.01344, allocations: 0.504 MB / 381.8 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.414e-05/0.01347, allocations: 24.17 kB / 381.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.01353, allocations: 155.4 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.974e-05/0.01363, allocations: 193.8 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01363, allocations: 4 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001931/0.01382, allocations: 188.8 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.01383, allocations: 8.406 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01384, allocations: 8 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.678e-05/0.0139, allocations: 31.61 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.01406, allocations: 55.94 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.01407, allocations: 11.94 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.01413, allocations: 8 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.01414, allocations: 4 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.517e-05/0.0142, allocations: 176.4 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.01424, allocations: 27.86 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.01438, allocations: 127.3 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01438, allocations: 4 kB / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01438, allocations: 0 / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01439, allocations: 0 / 382.8 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.01455, allocations: 169 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01455, allocations: 4 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.562e-05/0.01464, allocations: 31.91 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01464, allocations: 0 / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.01465, allocations: 8 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01465, allocations: 0 / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01465, allocations: 8 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.01486, allocations: 414.5 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.01487, allocations: 15.86 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.01489, allocations: 11.98 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.01497, allocations: 0 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.01498, allocations: 11.98 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.01499, allocations: 4 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.33e-05/0.01504, allocations: 189.1 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01504, allocations: 0 / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.01526, allocations: 48 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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 7.415e-05/0.01533, allocations: 107.2 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.0155, allocations: 109.4 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.0155, allocations: 0 / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.523e-05/0.01554, allocations: 43.59 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.01587, allocations: 63.78 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007659/0.01663, allocations: 0.5613 MB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.084e-05/0.01667, allocations: 96.25 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.408e-05/0.01674, allocations: 30.3 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.311e-05/0.01683, allocations: 118.2 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of SimCode: time 1.011e-06/0.01683, allocations: 0 / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of Templates: time 0.003943/0.02078, allocations: 2.507 MB / 387.4 MB, free: 15.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1067651510238647]