Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 109.2 kB / 17.75 MB, free: 5.223 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.001109/0.00111, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1777/0.1777, allocations: 38.04 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 458.8 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3103, allocations: 58.05 MB / 0.5048 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.006623/0.317, allocations: 6.54 MB / 0.5112 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.3207, allocations: 2.427 MB / 0.5135 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004546/0.3212, allocations: 27.19 kB / 0.5136 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.3227, allocations: 0.6076 MB / 0.5141 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.3241, allocations: 0.6872 MB / 0.5148 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3252, allocations: 451.7 kB / 0.5152 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.3266, allocations: 1.365 MB / 0.5166 GB, free: 28 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006909/0.3274, allocations: 493.5 kB / 0.5171 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008854/0.3282, allocations: 0.5795 MB / 0.5176 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.3296, allocations: 0.7892 MB / 0.5184 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.3298, allocations: 75.09 kB / 0.5185 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006555/0.3305, allocations: 278.4 kB / 0.5187 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005522/0.331, allocations: 0.517 MB / 0.5192 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000541/0.3316, allocations: 0.5267 MB / 0.5197 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.3331, allocations: 1.33 MB / 0.521 GB, free: 14.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3332, allocations: 0 / 0.521 GB, free: 14.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3332, allocations: 0 / 0.521 GB, free: 14.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.076e-05/0.3332, allocations: 1.25 kB / 0.521 GB, free: 14.26 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002494/0.3357, allocations: 1.326 MB / 0.5223 GB, free: 13.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3357, allocations: 13.27 kB / 0.5224 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.3368, allocations: 200.7 kB / 0.5225 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.3381, allocations: 0.7131 MB / 0.5232 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/0.3381, allocations: 59.36 kB / 0.5233 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.3383, allocations: 99.33 kB / 0.5234 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.3405, allocations: 1.388 MB / 0.5247 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.3405, allocations: 6.688 kB / 0.5248 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.637e-05/0.3406, allocations: 38.78 kB / 0.5248 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002854/0.3409, allocations: 115.1 kB / 0.5249 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.3428, allocations: 1.097 MB / 0.526 GB, free: 11.75 MB / 398.1 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.006646/0.3494, allocations: 5.933 MB / 0.5318 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.3505, allocations: 0.7075 MB / 0.5325 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/0.3509, allocations: 327.2 kB / 0.5328 GB, free: 6.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.139e-05/0.351, allocations: 11.55 kB / 0.5328 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000645/0.3517, allocations: 476.6 kB / 0.5332 GB, free: 6.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.655e-06/0.3517, allocations: 3.938 kB / 0.5332 GB, free: 6.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.003426/0.3551, allocations: 2.147 MB / 0.5353 GB, free: 4.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.3552, allocations: 171.5 kB / 0.5355 GB, free: 4.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007292/0.356, allocations: 0.6337 MB / 0.5361 GB, free: 4.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.356, allocations: 37.95 kB / 0.5362 GB, free: 4.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.3564, allocations: 0.5277 MB / 0.5367 GB, free: 3.746 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.3566, allocations: 230 kB / 0.5369 GB, free: 3.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.3569, allocations: 204.4 kB / 0.5371 GB, free: 3.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.357, allocations: 391.6 kB / 0.5375 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005366/0.3576, allocations: 339.1 kB / 0.5378 GB, free: 2.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007952/0.3584, allocations: 0.7733 MB / 0.5385 GB, free: 2.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.3598, allocations: 1.243 MB / 0.5397 GB, free: 1.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.3598, allocations: 4.312 kB / 0.5398 GB, free: 1.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002631/0.3624, allocations: 1.435 MB / 0.5412 GB, free: 388 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.3625, allocations: 46.48 kB / 0.5412 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001456/0.364, allocations: 0.789 MB / 0.542 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006973/0.3647, allocations: 255.1 kB / 0.5422 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006812/0.3654, allocations: 209.9 kB / 0.5424 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/0.3699, allocations: 4.381 MB / 0.5467 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007253/0.3706, allocations: 63.53 kB / 0.5468 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.3707, allocations: 60.11 kB / 0.5468 GB, free: 11.99 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005798/0.3713, allocations: 400.4 kB / 0.5472 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.3714, allocations: 75.94 kB / 0.5473 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.3728, allocations: 0.8554 MB / 0.5481 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.3728, allocations: 3.984 kB / 0.5481 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3728, allocations: 0 / 0.5481 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.3731, allocations: 200.1 kB / 0.5483 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-05/0.3732, allocations: 20 kB / 0.5483 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.3736, allocations: 27.97 kB / 0.5483 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3737, allocations: 40.5 kB / 0.5484 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001734/0.3754, allocations: 1.053 MB / 0.5494 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001753/0.3772, allocations: 1.459 MB / 0.5508 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004719/0.3777, allocations: 368.3 kB / 0.5512 GB, free: 7.559 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005154/0.3782, allocations: 431 kB / 0.5516 GB, free: 7.141 MB / 414.1 MB Notification: Performance of Backend: time 5.61e-07/0.3782, allocations: 0 / 0.5516 GB, free: 7.141 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.3805, allocations: 1.16 MB / 0.5527 GB, free: 5.934 MB / 414.1 MB Notification: Performance of SimCode: time 0.004053/0.3846, allocations: 2.261 MB / 0.5549 GB, free: 3.609 MB / 414.1 MB Notification: Performance of Templates: time 0.02835/0.413, allocations: 11.05 MB / 0.5657 GB, free: 8.617 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches