Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) 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.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009172/0.0009174, allocations: 96.91 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008984/0.0008985, allocations: 183.2 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2942/0.2942, allocations: 38.06 MB / 330.3 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002962, allocations: 11.98 kB / 400 MB, free: 9.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2383, allocations: 59.15 MB / 459.1 MB, free: 30.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.004039/0.2423, allocations: 3.996 MB / 463.1 MB, free: 27.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.2436, allocations: 1.064 MB / 464.2 MB, free: 26.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.2438, allocations: 28.94 kB / 464.2 MB, free: 26.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.244, allocations: 52.92 kB / 464.3 MB, free: 26.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004365/0.2444, allocations: 182.9 kB / 464.4 MB, free: 26.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.2446, allocations: 114.8 kB / 464.6 MB, free: 26.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.2449, allocations: 226.6 kB / 464.8 MB, free: 26.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.2452, allocations: 85.97 kB / 464.9 MB, free: 26.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.2454, allocations: 131.6 kB / 465 MB, free: 26.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.2457, allocations: 145.7 kB / 465.1 MB, free: 26.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.2457, allocations: 10.12 kB / 465.1 MB, free: 26.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.16e-05/0.2458, allocations: 11.06 kB / 465.2 MB, free: 26.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.2459, allocations: 72.7 kB / 465.2 MB, free: 26.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.317e-05/0.2459, allocations: 72.64 kB / 465.3 MB, free: 26.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.2462, allocations: 207.3 kB / 465.5 MB, free: 26.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.2462, allocations: 0 / 465.5 MB, free: 26.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2462, allocations: 0.7031 kB / 465.5 MB, free: 26.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.2462, allocations: 0 / 465.5 MB, free: 26.2 MB / 350.1 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.0008472/0.2471, allocations: 0.5523 MB / 466.1 MB, free: 25.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2471, allocations: 10.2 kB / 466.1 MB, free: 25.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.419e-05/0.2472, allocations: 30.78 kB / 466.1 MB, free: 25.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.2476, allocations: 307.3 kB / 466.4 MB, free: 25.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.2477, allocations: 24.67 kB / 466.4 MB, free: 25.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.2477, allocations: 23.41 kB / 466.4 MB, free: 25.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/0.2481, allocations: 283.1 kB / 466.7 MB, free: 25.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2482, allocations: 5.672 kB / 466.7 MB, free: 25.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.2482, allocations: 14.19 kB / 466.7 MB, free: 25.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2482, allocations: 9.469 kB / 466.7 MB, free: 25.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.2485, allocations: 177.3 kB / 466.9 MB, free: 25.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.2497, allocations: 1.23 MB / 468.1 MB, free: 24.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.25, allocations: 105 kB / 468.2 MB, free: 24.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2501, allocations: 9.469 kB / 468.3 MB, free: 24.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.2501, allocations: 37.2 kB / 468.3 MB, free: 24.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.2501, allocations: 4.125 kB / 468.3 MB, free: 24.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007048/0.2508, allocations: 492.1 kB / 468.8 MB, free: 23.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.2508, allocations: 79.14 kB / 468.9 MB, free: 23.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.2511, allocations: 245.9 kB / 469.1 MB, free: 23.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.2511, allocations: 27.55 kB / 469.1 MB, free: 23.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.976e-05/0.2512, allocations: 194.7 kB / 469.3 MB, free: 23.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.2512, allocations: 40.91 kB / 469.4 MB, free: 23.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.2512, allocations: 4 kB / 469.4 MB, free: 23.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.2513, allocations: 334.6 kB / 469.7 MB, free: 22.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.2514, allocations: 32.38 kB / 469.7 MB, free: 22.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.479e-05/0.2515, allocations: 133.1 kB / 469.8 MB, free: 22.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.382e-05/0.2515, allocations: 57.83 kB / 469.9 MB, free: 22.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2516, allocations: 1.438 kB / 469.9 MB, free: 22.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002618/0.2518, allocations: 208.5 kB / 470.1 MB, free: 22.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2518, allocations: 6.219 kB / 470.1 MB, free: 22.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2519, allocations: 4.156 kB / 470.1 MB, free: 22.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2519, allocations: 4.562 kB / 470.1 MB, free: 22.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.252, allocations: 52.7 kB / 470.2 MB, free: 22.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.2521, allocations: 9.953 kB / 470.2 MB, free: 22.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.2522, allocations: 7.594 kB / 470.2 MB, free: 22.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.2522, allocations: 13.83 kB / 470.2 MB, free: 22.54 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.2523, allocations: 150.5 kB / 470.4 MB, free: 22.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.2524, allocations: 25.77 kB / 470.4 MB, free: 22.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.2526, allocations: 133.2 kB / 470.5 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2526, allocations: 2.938 kB / 470.5 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2526, allocations: 1.938 kB / 470.5 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2526, allocations: 0 / 470.5 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.2531, allocations: 483.7 kB / 471 MB, free: 21.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2532, allocations: 1.188 kB / 471 MB, free: 21.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.2533, allocations: 21.03 kB / 471 MB, free: 21.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2533, allocations: 2.156 kB / 471 MB, free: 21.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2533, allocations: 9.859 kB / 471 MB, free: 21.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2533, allocations: 6.125 kB / 471 MB, free: 21.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2533, allocations: 1.125 kB / 471 MB, free: 21.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.2536, allocations: 305.1 kB / 471.3 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.2537, allocations: 92.39 kB / 471.4 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.2537, allocations: 6.938 kB / 471.4 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.2538, allocations: 1.906 kB / 471.4 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.2538, allocations: 6.469 kB / 471.4 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.2539, allocations: 11.67 kB / 471.4 MB, free: 21.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.254, allocations: 174.9 kB / 471.6 MB, free: 21.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.02e-07/0.254, allocations: 0 / 471.6 MB, free: 21.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.2543, allocations: 47.78 kB / 471.7 MB, free: 21.44 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.298e-05/0.2544, allocations: 94.55 kB / 471.7 MB, free: 21.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.2546, allocations: 116.5 kB / 471.9 MB, free: 21.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2546, allocations: 0 / 471.9 MB, free: 21.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.2547, allocations: 46.91 kB / 471.9 MB, free: 21.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.2551, allocations: 50.14 kB / 472 MB, free: 21.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2561, allocations: 0.6775 MB / 472.6 MB, free: 20.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.2564, allocations: 0.7824 MB / 473.4 MB, free: 20.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000127/0.2566, allocations: 37.44 kB / 473.5 MB, free: 20.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.2566, allocations: 20.27 kB / 473.5 MB, free: 20.11 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.2566, allocations: 1.125 kB / 473.5 MB, free: 20.11 MB / 350.1 MB Notification: Performance of Templates: time 0.005244/0.2619, allocations: 1.84 MB / 475.3 MB, free: 19.93 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches