Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 177.3 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 225.7 MB / 243.2 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008349/0.0008349, allocations: 93.25 kB / 294.4 MB, free: 9.477 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2848/0.2848, allocations: 38.18 MB / 383.7 MB, free: 40.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.000301, allocations: 8 kB / 453.5 MB, free: 8.773 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2872, allocations: 59.15 MB / 0.5007 GB, free: 38.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.008087/0.2953, allocations: 8.239 MB / 0.5087 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008552/0.3039, allocations: 8.009 MB / 0.5166 GB, free: 29.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.3052, allocations: 57.62 kB / 0.5166 GB, free: 29.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007463/0.3127, allocations: 4.728 MB / 0.5212 GB, free: 27.94 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.3143, allocations: 0.6019 MB / 0.5218 GB, free: 27.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.3153, allocations: 402.2 kB / 0.5222 GB, free: 27.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002397/0.3177, allocations: 2.939 MB / 0.5251 GB, free: 26.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.3192, allocations: 1.628 MB / 0.5267 GB, free: 25.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000624/0.3198, allocations: 0.5119 MB / 0.5272 GB, free: 25.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006786/0.3205, allocations: 0.7026 MB / 0.5278 GB, free: 24.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.59e-05/0.3206, allocations: 49.06 kB / 0.5279 GB, free: 24.9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005904/0.3212, allocations: 327.8 kB / 0.5282 GB, free: 24.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002867/0.3215, allocations: 429 kB / 0.5286 GB, free: 24.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003943/0.3219, allocations: 0.543 MB / 0.5291 GB, free: 24.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.3231, allocations: 1.617 MB / 0.5307 GB, free: 23.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3231, allocations: 6.938 kB / 0.5307 GB, free: 23.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3231, allocations: 0 / 0.5307 GB, free: 23.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.3231, allocations: 0 / 0.5307 GB, free: 23.89 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001853/0.325, allocations: 1.22 MB / 0.5319 GB, free: 23.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.325, allocations: 9.562 kB / 0.5319 GB, free: 23.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005753/0.3256, allocations: 155 kB / 0.5321 GB, free: 23.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.3269, allocations: 0.9495 MB / 0.533 GB, free: 22.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.3269, allocations: 62.05 kB / 0.5331 GB, free: 22.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.3271, allocations: 93.98 kB / 0.5331 GB, free: 22.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.3284, allocations: 1.063 MB / 0.5342 GB, free: 21.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.3284, allocations: 3.156 kB / 0.5342 GB, free: 21.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/0.3285, allocations: 26.34 kB / 0.5342 GB, free: 21.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/0.3287, allocations: 76.06 kB / 0.5343 GB, free: 21.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.3298, allocations: 0.8343 MB / 0.5351 GB, free: 21.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004221/0.334, allocations: 4.014 MB / 0.539 GB, free: 18.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008044/0.3348, allocations: 0.6224 MB / 0.5396 GB, free: 18.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.3352, allocations: 310.2 kB / 0.5399 GB, free: 18.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.3352, allocations: 8.812 kB / 0.5399 GB, free: 18.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.3353, allocations: 41.16 kB / 0.54 GB, free: 18.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.404e-06/0.3353, allocations: 4 kB / 0.54 GB, free: 18.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.004019/0.3393, allocations: 2.588 MB / 0.5425 GB, free: 17.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.3394, allocations: 109.3 kB / 0.5426 GB, free: 16.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000739/0.3401, allocations: 0.6882 MB / 0.5433 GB, free: 16.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.3402, allocations: 36.67 kB / 0.5433 GB, free: 16.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.3404, allocations: 488.7 kB / 0.5438 GB, free: 16.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.3406, allocations: 238.9 kB / 0.544 GB, free: 16.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.3406, allocations: 14.94 kB / 0.544 GB, free: 16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3407, allocations: 394.5 kB / 0.5444 GB, free: 15.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.3411, allocations: 301.5 kB / 0.5447 GB, free: 15.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.3416, allocations: 0.5094 MB / 0.5452 GB, free: 15.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003362/0.345, allocations: 1.665 MB / 0.5468 GB, free: 14.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.345, allocations: 2.438 kB / 0.5468 GB, free: 14.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002057/0.3471, allocations: 1.268 MB / 0.5481 GB, free: 13.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3471, allocations: 7.312 kB / 0.5481 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.3471, allocations: 6.469 kB / 0.5481 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.3482, allocations: 411.1 kB / 0.5485 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.3487, allocations: 146.5 kB / 0.5486 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006178/0.3549, allocations: 5.729 MB / 0.5542 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.3555, allocations: 26.92 kB / 0.5542 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.3556, allocations: 34.89 kB / 0.5543 GB, free: 9.602 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.windGen.WT.turbine.w = 0.0. 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0005357/0.3562, allocations: 369.8 kB / 0.5546 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.3563, allocations: 77.34 kB / 0.5547 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.3578, allocations: 0.8938 MB / 0.5555 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.3578, allocations: 11.94 kB / 0.5556 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3578, allocations: 7.375 kB / 0.5556 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3579, allocations: 3.234 kB / 0.5556 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.3609, allocations: 2.001 MB / 0.5575 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3609, allocations: 1.031 kB / 0.5575 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005811/0.3615, allocations: 124.1 kB / 0.5576 GB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005222/0.362, allocations: 185.2 kB / 0.5578 GB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.379e-05/0.3621, allocations: 27.98 kB / 0.5578 GB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003323/0.3654, allocations: 4.991 MB / 0.5627 GB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3654, allocations: 2.031 kB / 0.5627 GB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.3672, allocations: 1.271 MB / 0.564 GB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/0.3675, allocations: 209.8 kB / 0.5642 GB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.706e-05/0.3676, allocations: 28.36 kB / 0.5642 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.3679, allocations: 18.47 kB / 0.5642 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.368, allocations: 53.8 kB / 0.5643 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.368, allocations: 18.75 kB / 0.5643 GB, free: 2.219 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005669/0.3686, allocations: 496.3 kB / 0.5648 GB, free: 1.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3686, allocations: 0 / 0.5648 GB, free: 1.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009899/0.3696, allocations: 253.1 kB / 0.565 GB, free: 1.902 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.genRotor.phi,windGen.WT.genRotor.w,windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * 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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008781/0.3705, allocations: 493.5 kB / 0.5655 GB, free: 1.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.3723, allocations: 1.118 MB / 0.5666 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3723, allocations: 1.281 kB / 0.5666 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007625/0.373, allocations: 0.7179 MB / 0.5673 GB, free: 392 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009008/0.374, allocations: 174.3 kB / 0.5674 GB, free: 300 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.3777, allocations: 3.082 MB / 0.5704 GB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007149/0.3784, allocations: 1.144 MB / 0.5716 GB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005156/0.3789, allocations: 158.6 kB / 0.5717 GB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.3791, allocations: 59.42 kB / 0.5718 GB, free: 12.68 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3791, allocations: 0 / 0.5718 GB, free: 12.68 MB / 394.7 MB Notification: Performance of Templates: time 0.01879/0.3979, allocations: 11.78 MB / 0.5833 GB, free: 0.9492 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches