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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002162/0.002162, allocations: 212.3 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1824/0.1824, allocations: 38.52 MB / 352.5 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 63.89 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3667, allocations: 62.46 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008795/0.3755, allocations: 6.728 MB / 0.5486 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005026/0.3806, allocations: 2.505 MB / 0.551 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005387/0.3811, allocations: 34.47 kB / 0.551 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.3829, allocations: 0.631 MB / 0.5517 GB, free: 8.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.3847, allocations: 0.6893 MB / 0.5523 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.3861, allocations: 463 kB / 0.5528 GB, free: 7.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002054/0.3881, allocations: 1.361 MB / 0.5541 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006519/0.3888, allocations: 413.2 kB / 0.5545 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.3898, allocations: 0.5872 MB / 0.5551 GB, free: 6.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.3913, allocations: 0.8578 MB / 0.5559 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.3915, allocations: 82.25 kB / 0.556 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007388/0.3922, allocations: 317 kB / 0.5563 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005711/0.3928, allocations: 0.5254 MB / 0.5568 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.3934, allocations: 0.5247 MB / 0.5573 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.3951, allocations: 1.35 MB / 0.5586 GB, free: 3.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3951, allocations: 0 / 0.5586 GB, free: 3.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3951, allocations: 0 / 0.5586 GB, free: 3.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.3951, allocations: 4 kB / 0.5586 GB, free: 3.422 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.002379/0.3975, allocations: 1.283 MB / 0.5599 GB, free: 2.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3975, allocations: 15.98 kB / 0.5599 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001769/0.3977, allocations: 152.2 kB / 0.5601 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.399, allocations: 279.9 kB / 0.5603 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.4003, allocations: 0.6341 MB / 0.5609 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.4003, allocations: 62.36 kB / 0.561 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.4005, allocations: 99.86 kB / 0.5611 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.4025, allocations: 1.384 MB / 0.5624 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.4025, allocations: 7.938 kB / 0.5625 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-05/0.4026, allocations: 39.98 kB / 0.5625 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002727/0.4029, allocations: 121.9 kB / 0.5626 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.4046, allocations: 1.097 MB / 0.5637 GB, free: 14.08 MB / 414.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.007281/0.4119, allocations: 5.868 MB / 0.5694 GB, free: 7.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.413, allocations: 0.5828 MB / 0.57 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/0.4134, allocations: 291.1 kB / 0.5703 GB, free: 7.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.984e-05/0.4135, allocations: 12.44 kB / 0.5703 GB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006659/0.4141, allocations: 484.8 kB / 0.5707 GB, free: 6.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.094e-06/0.4141, allocations: 0 / 0.5707 GB, free: 6.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.003639/0.4178, allocations: 2.099 MB / 0.5728 GB, free: 4.359 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.4179, allocations: 170.9 kB / 0.5729 GB, free: 4.156 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007941/0.4187, allocations: 0.6407 MB / 0.5736 GB, free: 3.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.4188, allocations: 37.7 kB / 0.5736 GB, free: 3.469 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/0.4193, allocations: 0.5424 MB / 0.5741 GB, free: 2.918 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.4195, allocations: 249.9 kB / 0.5744 GB, free: 2.672 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.4198, allocations: 206.8 kB / 0.5746 GB, free: 2.465 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.42, allocations: 386.7 kB / 0.5749 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005348/0.4205, allocations: 342.4 kB / 0.5753 GB, free: 1.742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008855/0.4214, allocations: 0.7702 MB / 0.576 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.4229, allocations: 1.25 MB / 0.5772 GB, free: 15.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.423, allocations: 4 kB / 0.5772 GB, free: 15.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002535/0.4255, allocations: 1.433 MB / 0.5786 GB, free: 13.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/0.4255, allocations: 41.64 kB / 0.5787 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001441/0.427, allocations: 0.7805 MB / 0.5794 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007227/0.4277, allocations: 249.5 kB / 0.5797 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000688/0.4284, allocations: 219.6 kB / 0.5799 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004812/0.4332, allocations: 4.171 MB / 0.584 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005968/0.4338, allocations: 51.97 kB / 0.584 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.754e-05/0.4339, allocations: 63.97 kB / 0.5841 GB, free: 8.031 MB / 430.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.0005767/0.4345, allocations: 406.9 kB / 0.5845 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.4346, allocations: 83.42 kB / 0.5845 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.436, allocations: 0.8423 MB / 0.5854 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.436, allocations: 4.047 kB / 0.5854 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.436, allocations: 7.984 kB / 0.5854 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.436, allocations: 7.984 kB / 0.5854 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.4388, allocations: 1.744 MB / 0.5871 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.4388, allocations: 4 kB / 0.5871 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006998/0.4395, allocations: 151.9 kB / 0.5872 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.4395, allocations: 4 kB / 0.5872 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/0.4396, allocations: 23.92 kB / 0.5873 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.4396, allocations: 7.938 kB / 0.5873 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4396, allocations: 4 kB / 0.5873 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.4415, allocations: 1.312 MB / 0.5886 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.4419, allocations: 127.5 kB / 0.5887 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.255e-05/0.442, allocations: 16 kB / 0.5887 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.4423, allocations: 31.97 kB / 0.5887 GB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.4424, allocations: 52.34 kB / 0.5888 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.439e-05/0.4425, allocations: 43.97 kB / 0.5888 GB, free: 3.027 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005407/0.443, allocations: 427 kB / 0.5892 GB, free: 2.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.443, allocations: 0 / 0.5892 GB, free: 2.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009191/0.444, allocations: 228 kB / 0.5894 GB, free: 2.391 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002197/0.4462, allocations: 1.883 MB / 0.5913 GB, free: 464 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001992/0.4482, allocations: 1.202 MB / 0.5925 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4482, allocations: 1.75 kB / 0.5925 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005794/0.4487, allocations: 414.1 kB / 0.5928 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007608/0.4495, allocations: 141.6 kB / 0.593 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.4624, allocations: 8.084 MB / 0.6009 GB, free: 6.027 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009917/0.4633, allocations: 1.11 MB / 0.602 GB, free: 4.891 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006872/0.464, allocations: 286.4 kB / 0.6022 GB, free: 4.605 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/0.4645, allocations: 339.3 kB / 0.6026 GB, free: 4.273 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4645, allocations: 0 / 0.6026 GB, free: 4.273 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05736/0.5219, allocations: 17.09 MB / 0.6192 GB, free: 3.352 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.9, allocations: 4.562 kB / 0.6192 GB, free: 3.348 MB / 462.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.919375566998497]