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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.001441, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008244/0.0008244, allocations: 88.31 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1613/0.1613, allocations: 37.99 MB / 348 MB, free: 7.773 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.161e-05/1.165e-05, allocations: 0 / 410.6 MB, free: 46.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09084/0.09087, allocations: 56.33 MB / 466.9 MB, free: 6.562 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3768/0.4677, allocations: 100.2 MB / 0.5538 GB, free: 10.78 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.4681, allocations: 91.94 kB / 0.5539 GB, free: 10.69 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0348/0.5029, allocations: 12.46 MB / 0.566 GB, free: 14.12 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.503, allocations: 4 kB / 0.566 GB, free: 14.11 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.841e-05/0.503, allocations: 8 kB / 0.566 GB, free: 14.11 MB / 411.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.001216/0.5042, allocations: 0.6646 MB / 0.5667 GB, free: 13.39 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5043, allocations: 8.031 kB / 0.5667 GB, free: 13.39 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005885/0.5049, allocations: 91.28 kB / 0.5668 GB, free: 13.3 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.507, allocations: 0.8499 MB / 0.5676 GB, free: 12.41 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.5071, allocations: 19.94 kB / 0.5676 GB, free: 12.39 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.856e-05/0.5071, allocations: 28 kB / 0.5677 GB, free: 12.36 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000627/0.5078, allocations: 358.5 kB / 0.568 GB, free: 12.01 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008411/0.5086, allocations: 0.5601 MB / 0.5685 GB, free: 11.39 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.5087, allocations: 7.938 kB / 0.5685 GB, free: 11.38 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.5087, allocations: 0 / 0.5685 GB, free: 11.38 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.559e-05/0.5088, allocations: 32.72 kB / 0.5686 GB, free: 11.35 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003367/0.5121, allocations: 2.831 MB / 0.5713 GB, free: 8.375 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.5125, allocations: 197 kB / 0.5715 GB, free: 8.164 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.5127, allocations: 121.8 kB / 0.5716 GB, free: 8.039 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.5127, allocations: 0 / 0.5716 GB, free: 8.039 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.5128, allocations: 46.69 kB / 0.5717 GB, free: 7.984 MB / 411.1 MB Notification: Performance of pre-optimization done (n=24): time 1.843e-06/0.5128, allocations: 0 / 0.5717 GB, free: 7.984 MB / 411.1 MB Notification: Performance of matching and sorting (n=25): time 0.001613/0.5144, allocations: 0.8368 MB / 0.5725 GB, free: 7.09 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.5145, allocations: 81.3 kB / 0.5726 GB, free: 6.992 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.5148, allocations: 273 kB / 0.5728 GB, free: 6.723 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.5149, allocations: 29.7 kB / 0.5729 GB, free: 6.688 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.5151, allocations: 283.1 kB / 0.5731 GB, free: 6.402 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.121e-05/0.5152, allocations: 86.75 kB / 0.5732 GB, free: 6.316 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.5152, allocations: 0 / 0.5732 GB, free: 6.316 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.5154, allocations: 350.7 kB / 0.5736 GB, free: 5.965 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.5156, allocations: 136.9 kB / 0.5737 GB, free: 5.832 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.516, allocations: 310.2 kB / 0.574 GB, free: 5.449 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.5163, allocations: 204.9 kB / 0.5742 GB, free: 5.25 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5164, allocations: 3.938 kB / 0.5742 GB, free: 5.246 MB / 411.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001081/0.5175, allocations: 0.5399 MB / 0.5747 GB, free: 4.699 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.5175, allocations: 8.094 kB / 0.5747 GB, free: 4.691 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005773/0.5181, allocations: 312.5 kB / 0.575 GB, free: 4.383 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003423/0.5184, allocations: 72.8 kB / 0.5751 GB, free: 4.309 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.5188, allocations: 99.81 kB / 0.5752 GB, free: 4.211 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.5205, allocations: 1.53 MB / 0.5767 GB, free: 2.562 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.5207, allocations: 15.98 kB / 0.5767 GB, free: 2.547 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.5208, allocations: 20 kB / 0.5767 GB, free: 2.527 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.5209, allocations: 132.8 kB / 0.5768 GB, free: 2.391 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.451e-05/0.521, allocations: 35.53 kB / 0.5769 GB, free: 2.355 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006035/0.5216, allocations: 320.5 kB / 0.5772 GB, free: 2.035 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.5216, allocations: 11.98 kB / 0.5772 GB, free: 2.023 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.5216, allocations: 0 / 0.5772 GB, free: 2.023 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5216, allocations: 3.938 kB / 0.5772 GB, free: 2.02 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.523, allocations: 0.7905 MB / 0.578 GB, free: 1.18 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.523, allocations: 0 / 0.578 GB, free: 1.18 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.5233, allocations: 59.89 kB / 0.578 GB, free: 1.121 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.5233, allocations: 0 / 0.578 GB, free: 1.121 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.5233, allocations: 4 kB / 0.578 GB, free: 1.117 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5233, allocations: 4 kB / 0.578 GB, free: 1.113 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.5234, allocations: 4 kB / 0.578 GB, free: 1.109 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007234/0.5241, allocations: 0.5768 MB / 0.5786 GB, free: 500 kB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-05/0.5242, allocations: 108.6 kB / 0.5787 GB, free: 372 kB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.5242, allocations: 8.031 kB / 0.5787 GB, free: 364 kB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.5244, allocations: 11.98 kB / 0.5787 GB, free: 352 kB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.5245, allocations: 15.98 kB / 0.5787 GB, free: 336 kB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.5245, allocations: 11.98 kB / 0.5787 GB, free: 324 kB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.5247, allocations: 208.6 kB / 0.5789 GB, free: 120 kB / 411.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5247, allocations: 0 / 0.5789 GB, free: 120 kB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005223/0.5252, allocations: 96 kB / 0.579 GB, free: 24 kB / 411.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 1 * 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 0.0002339/0.5255, allocations: 119.3 kB / 0.5792 GB, free: 15.9 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0007375/0.5262, allocations: 457.6 kB / 0.5796 GB, free: 15.44 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5262, allocations: 0 / 0.5796 GB, free: 15.44 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.5265, allocations: 141.5 kB / 0.5797 GB, free: 15.3 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.5268, allocations: 65.39 kB / 0.5798 GB, free: 15.24 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.5282, allocations: 0.774 MB / 0.5805 GB, free: 14.43 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.5287, allocations: 0.8734 MB / 0.5814 GB, free: 13.52 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.0003085/0.529, allocations: 111.2 kB / 0.5815 GB, free: 13.42 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.355e-05/0.5291, allocations: 31.42 kB / 0.5815 GB, free: 13.39 MB / 427.1 MB Notification: Performance of SimCode: time 2.585e-06/0.5291, allocations: 4 kB / 0.5815 GB, free: 13.38 MB / 427.1 MB Notification: Performance of Templates: time 0.007339/0.5365, allocations: 3.284 MB / 0.5847 GB, free: 10.11 MB / 427.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Impedance.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches