Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007833/0.0007834, allocations: 89.12 kB / 16.3 MB, free: 5.992 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.0008752/0.0008752, allocations: 181.6 kB / 17.2 MB, free: 5.906 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.218/1.218, allocations: 223.2 MB / 241.1 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2708/0.2708, allocations: 38.07 MB / 330.3 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.000329, allocations: 12 kB / 400 MB, free: 9.281 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2668, allocations: 59.16 MB / 459.1 MB, free: 30.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004644/0.2715, allocations: 4.618 MB / 463.7 MB, free: 27.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.2735, allocations: 1.567 MB / 465.3 MB, free: 25.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.2738, allocations: 24.06 kB / 465.3 MB, free: 25.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.2741, allocations: 112 kB / 465.4 MB, free: 25.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005934/0.2747, allocations: 265.4 kB / 465.7 MB, free: 25.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.2751, allocations: 136.1 kB / 465.8 MB, free: 25.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.2755, allocations: 358.4 kB / 466.2 MB, free: 25.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003982/0.276, allocations: 283.7 kB / 466.5 MB, free: 25.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.2762, allocations: 186.3 kB / 466.6 MB, free: 25.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.2765, allocations: 167.5 kB / 466.8 MB, free: 25.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.2765, allocations: 20.56 kB / 466.8 MB, free: 25.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.554e-05/0.2766, allocations: 19.47 kB / 466.8 MB, free: 25.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.2767, allocations: 91.69 kB / 466.9 MB, free: 25.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.424e-05/0.2768, allocations: 105.1 kB / 467 MB, free: 25.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.2773, allocations: 392.2 kB / 467.4 MB, free: 24.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.2773, allocations: 0 / 467.4 MB, free: 24.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2773, allocations: 0.75 kB / 467.4 MB, free: 24.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2773, allocations: 0 / 467.4 MB, free: 24.98 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009936/0.2783, allocations: 0.6458 MB / 468.1 MB, free: 24.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2783, allocations: 9.969 kB / 468.1 MB, free: 24.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.503e-05/0.2784, allocations: 45.06 kB / 468.1 MB, free: 24.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000561/0.279, allocations: 379.1 kB / 468.5 MB, free: 24.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-05/0.2791, allocations: 53.83 kB / 468.5 MB, free: 24.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.2791, allocations: 44.2 kB / 468.6 MB, free: 24.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00065/0.2798, allocations: 428.5 kB / 469 MB, free: 23.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.2798, allocations: 5.062 kB / 469 MB, free: 23.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.2799, allocations: 16.03 kB / 469 MB, free: 23.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.2799, allocations: 17.08 kB / 469 MB, free: 23.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.2804, allocations: 277.4 kB / 469.3 MB, free: 23.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.2821, allocations: 1.847 MB / 471.2 MB, free: 22.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.2824, allocations: 180.3 kB / 471.3 MB, free: 22.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.2825, allocations: 10.19 kB / 471.3 MB, free: 22.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.2825, allocations: 42.17 kB / 471.4 MB, free: 22.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.2825, allocations: 0 / 471.4 MB, free: 22.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001145/0.2836, allocations: 0.7104 MB / 472.1 MB, free: 21.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.2837, allocations: 105.4 kB / 472.2 MB, free: 21.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.284, allocations: 313.6 kB / 472.5 MB, free: 21.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.2841, allocations: 31.11 kB / 472.5 MB, free: 21.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.2842, allocations: 237 kB / 472.8 MB, free: 21.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.2843, allocations: 79.42 kB / 472.8 MB, free: 20.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.2843, allocations: 9.125 kB / 472.9 MB, free: 20.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.2844, allocations: 344.7 kB / 473.2 MB, free: 20.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.2845, allocations: 74.33 kB / 473.3 MB, free: 20.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.2847, allocations: 203.9 kB / 473.5 MB, free: 20.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.2849, allocations: 103.4 kB / 473.6 MB, free: 20.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2849, allocations: 5.25 kB / 473.6 MB, free: 20.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005088/0.2855, allocations: 324.9 kB / 473.9 MB, free: 20.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.2855, allocations: 6.531 kB / 473.9 MB, free: 20.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.2855, allocations: 5.203 kB / 473.9 MB, free: 20.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.2855, allocations: 7.156 kB / 473.9 MB, free: 20.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.2858, allocations: 78.52 kB / 474 MB, free: 20.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.2858, allocations: 10.11 kB / 474 MB, free: 20.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.286, allocations: 14.38 kB / 474 MB, free: 20.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.286, allocations: 19.5 kB / 474 MB, free: 20.21 MB / 350.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 (40): * Single equations (assignments): 40 * 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.0001638/0.2862, allocations: 183.6 kB / 474.2 MB, free: 20.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.2863, allocations: 31.23 kB / 474.2 MB, free: 20.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003776/0.2867, allocations: 198 kB / 474.4 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2867, allocations: 3.375 kB / 474.4 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.2867, allocations: 1.594 kB / 474.4 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2867, allocations: 1.969 kB / 474.4 MB, free: 19.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008283/0.2875, allocations: 0.625 MB / 475.1 MB, free: 19.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2876, allocations: 5.922 kB / 475.1 MB, free: 19.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.2878, allocations: 42.86 kB / 475.1 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.2878, allocations: 1.844 kB / 475.1 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.2878, allocations: 6.625 kB / 475.1 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2878, allocations: 7.781 kB / 475.1 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2878, allocations: 0.5625 kB / 475.1 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005154/0.2884, allocations: 498.2 kB / 475.6 MB, free: 19.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.2884, allocations: 109.4 kB / 475.7 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.2885, allocations: 4.531 kB / 475.7 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.2886, allocations: 9.078 kB / 475.7 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.2887, allocations: 10.58 kB / 475.7 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.2887, allocations: 10.62 kB / 475.8 MB, free: 18.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.2889, allocations: 218 kB / 476 MB, free: 18.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2889, allocations: 1.375 kB / 476 MB, free: 18.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003867/0.2893, allocations: 70.67 kB / 476 MB, free: 18.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * 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 (20): * Single equations (assignments): 19 * 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 9.293e-05/0.2894, allocations: 99.02 kB / 476.1 MB, free: 18.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003998/0.2898, allocations: 203.3 kB / 476.3 MB, free: 18.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2898, allocations: 1.375 kB / 476.3 MB, free: 18.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.29, allocations: 82.97 kB / 476.4 MB, free: 18.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.2905, allocations: 84.56 kB / 476.5 MB, free: 18.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.292, allocations: 1.111 MB / 477.6 MB, free: 17.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.2923, allocations: 0.8322 MB / 478.4 MB, free: 17.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.2925, allocations: 49.67 kB / 478.5 MB, free: 17.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.2925, allocations: 27.06 kB / 478.5 MB, free: 17.17 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2925, allocations: 0 / 478.5 MB, free: 17.17 MB / 350.1 MB Notification: Performance of Templates: time 0.006406/0.299, allocations: 3.098 MB / 481.6 MB, free: 15.85 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches