Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.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.Transformation.ThreeWinding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding") translateModel(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.alpha_v|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v_norm|meter12.alpha_v|meter12.p.1.|meter12.p.2.|meter12.p.3.|meter12.v_norm|meter22.alpha_v|meter22.p.1.|meter22.p.2.|meter22.p.3.|meter22.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008431/0.0008432, allocations: 183.1 kB / 16.71 MB, free: 4.969 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.215/1.215, allocations: 225.7 MB / 243.2 MB, free: 8.516 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.0008024/0.0008024, allocations: 97.67 kB / 294.4 MB, free: 9.512 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.2709/0.2709, allocations: 38.19 MB / 383.7 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.000272, allocations: 15.98 kB / 453.6 MB, free: 8.766 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2712, allocations: 59.14 MB / 0.5007 GB, free: 39.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.ThreeWinding): time 0.006963/0.2782, allocations: 8.723 MB / 0.5092 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005171/0.2834, allocations: 5.685 MB / 0.5148 GB, free: 30.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006483/0.2841, allocations: 53.75 kB / 0.5148 GB, free: 30.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006045/0.2847, allocations: 253.5 kB / 0.515 GB, free: 30.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.2861, allocations: 0.8627 MB / 0.5159 GB, free: 29.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.2871, allocations: 0.574 MB / 0.5164 GB, free: 29.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002465/0.2896, allocations: 3.334 MB / 0.5197 GB, free: 28.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.2912, allocations: 1.607 MB / 0.5213 GB, free: 27.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009266/0.2921, allocations: 0.6956 MB / 0.522 GB, free: 27.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.2933, allocations: 1.126 MB / 0.5231 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.2935, allocations: 55.34 kB / 0.5231 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008202/0.2943, allocations: 0.5054 MB / 0.5236 GB, free: 26.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004717/0.2948, allocations: 0.7228 MB / 0.5243 GB, free: 26.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004915/0.2953, allocations: 0.7072 MB / 0.525 GB, free: 26.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.2964, allocations: 1.907 MB / 0.5269 GB, free: 25.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2965, allocations: 6.938 kB / 0.5269 GB, free: 25.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2965, allocations: 0 / 0.5269 GB, free: 25.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.2965, allocations: 0 / 0.5269 GB, free: 25.57 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: 374 * Number of variables: 374 Notification: Performance of Generate backend data structure: time 0.001804/0.2983, allocations: 1.399 MB / 0.5282 GB, free: 24.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.2983, allocations: 15.67 kB / 0.5282 GB, free: 24.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.2996, allocations: 270.3 kB / 0.5285 GB, free: 24.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.3006, allocations: 0.8679 MB / 0.5294 GB, free: 24.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.88e-05/0.3007, allocations: 94.95 kB / 0.5294 GB, free: 24.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.301, allocations: 151.7 kB / 0.5296 GB, free: 23.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.303, allocations: 2.07 MB / 0.5316 GB, free: 22.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.3031, allocations: 14.45 kB / 0.5316 GB, free: 22.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.3032, allocations: 55.78 kB / 0.5317 GB, free: 22.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000334/0.3035, allocations: 182.5 kB / 0.5318 GB, free: 22.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.3055, allocations: 1.664 MB / 0.5335 GB, free: 22.36 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006778/0.3122, allocations: 9.413 MB / 0.5427 GB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008303/0.3131, allocations: 0.8934 MB / 0.5435 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004538/0.3136, allocations: 434.1 kB / 0.544 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.112e-05/0.3136, allocations: 18.94 kB / 0.544 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3136, allocations: 45.75 kB / 0.544 GB, free: 14.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=81): time 2.435e-06/0.3137, allocations: 0 / 0.544 GB, free: 14.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=85): time 0.003727/0.3174, allocations: 3.037 MB / 0.547 GB, free: 13.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.3174, allocations: 92.02 kB / 0.5471 GB, free: 12.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006537/0.3181, allocations: 0.7415 MB / 0.5478 GB, free: 12.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.3181, allocations: 41.25 kB / 0.5478 GB, free: 12.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.3184, allocations: 0.6994 MB / 0.5485 GB, free: 12.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.3186, allocations: 310.6 kB / 0.5488 GB, free: 11.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.3186, allocations: 27.19 kB / 0.5488 GB, free: 11.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3188, allocations: 402.2 kB / 0.5492 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006001/0.3194, allocations: 452 kB / 0.5497 GB, free: 11.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007931/0.3202, allocations: 1.009 MB / 0.5506 GB, free: 10.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.3217, allocations: 1.597 MB / 0.5522 GB, free: 9.242 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.3217, allocations: 5.125 kB / 0.5522 GB, free: 9.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003015/0.3247, allocations: 1.945 MB / 0.5541 GB, free: 8.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.3248, allocations: 14.3 kB / 0.5541 GB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001996/0.3268, allocations: 1.208 MB / 0.5553 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.328, allocations: 444.2 kB / 0.5557 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/0.3287, allocations: 260.3 kB / 0.556 GB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005544/0.3343, allocations: 5.415 MB / 0.5613 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/0.3349, allocations: 57.59 kB / 0.5613 GB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.77e-05/0.335, allocations: 64.7 kB / 0.5614 GB, free: 4.234 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,trafo3Stray.tap_2_internal[2],trafo3Stray.tap_2_internal[1],trafo3Stray.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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): 2 systems {(3,15,100.0%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005833/0.3356, allocations: 477.3 kB / 0.5618 GB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3357, allocations: 93.5 kB / 0.5619 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.3375, allocations: 1.379 MB / 0.5633 GB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.3375, allocations: 13.34 kB / 0.5633 GB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3375, allocations: 2.094 kB / 0.5633 GB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.3375, allocations: 8.953 kB / 0.5633 GB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.3405, allocations: 2.49 MB / 0.5657 GB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3406, allocations: 1.375 kB / 0.5657 GB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.341, allocations: 135.4 kB / 0.5658 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/0.3415, allocations: 183 kB / 0.566 GB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-05/0.3416, allocations: 25.55 kB / 0.566 GB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003223/0.3448, allocations: 4.596 MB / 0.5705 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.3448, allocations: 9.828 kB / 0.5705 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.3471, allocations: 1.848 MB / 0.5723 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.3474, allocations: 228 kB / 0.5726 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.3475, allocations: 20 kB / 0.5726 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.3479, allocations: 31.97 kB / 0.5726 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.348, allocations: 60.52 kB / 0.5727 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.348, allocations: 23.98 kB / 0.5727 GB, free: 10.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005297/0.3486, allocations: 494.9 kB / 0.5732 GB, free: 10.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3486, allocations: 0 / 0.5732 GB, free: 10.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009624/0.3496, allocations: 328 kB / 0.5735 GB, free: 9.953 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (trafo3Stray.i2a[1],trafo3Stray.i2a[2],trafo3Stray.i2a[3],trafo3Stray.i2b[1],trafo3Stray.i2b[2],trafo3Stray.i2b[3]) * 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 (76): * Single equations (assignments): 72 * 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,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.3497, allocations: 135 kB / 0.5736 GB, free: 9.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002272/0.352, allocations: 1.538 MB / 0.5751 GB, free: 8.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.352, allocations: 0 / 0.5751 GB, free: 8.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.3532, allocations: 0.8438 MB / 0.5759 GB, free: 7.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008378/0.3541, allocations: 160.4 kB / 0.5761 GB, free: 7.207 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004155/0.3583, allocations: 3.47 MB / 0.5795 GB, free: 3.691 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008903/0.3592, allocations: 1.313 MB / 0.5808 GB, free: 2.344 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008438/0.36, allocations: 372.5 kB / 0.5811 GB, free: 1.977 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.3602, allocations: 67.42 kB / 0.5812 GB, free: 1.91 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3602, allocations: 0 / 0.5812 GB, free: 1.91 MB / 394.7 MB Notification: Performance of Templates: time 0.01787/0.3781, allocations: 11.27 MB / 0.5922 GB, free: 6.684 MB / 410.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transformation.ThreeWinding.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches