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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.0009857/0.0009857, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.303/1.303, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1735/0.1735, allocations: 38.05 MB / 329.7 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 60.56 kB / 398.9 MB, free: 33.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.11, allocations: 58.06 MB / 457 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.0107/0.1207, allocations: 6.519 MB / 463.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004776/0.1255, allocations: 2.442 MB / 465.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005614/0.1261, allocations: 27.88 kB / 466 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.128, allocations: 0.6028 MB / 466.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.1297, allocations: 0.6847 MB / 467.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.1309, allocations: 447 kB / 467.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.1326, allocations: 1.369 MB / 469.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007721/0.1334, allocations: 483.9 kB / 469.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009508/0.1344, allocations: 0.5643 MB / 470.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.1358, allocations: 0.7905 MB / 470.9 MB, free: 10 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.136, allocations: 76 kB / 471 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005905/0.1366, allocations: 283.5 kB / 471.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004868/0.1371, allocations: 0.5144 MB / 471.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006493/0.1377, allocations: 0.5324 MB / 472.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.1392, allocations: 1.297 MB / 473.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1392, allocations: 0 / 473.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1392, allocations: 4 kB / 473.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.712e-05/0.1392, allocations: 0 / 473.6 MB, free: 7.293 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002464/0.1417, allocations: 1.334 MB / 474.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.1418, allocations: 15.89 kB / 474.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00018/0.142, allocations: 148.3 kB / 475.1 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.143, allocations: 195.5 kB / 475.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.1441, allocations: 0.6745 MB / 475.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.1441, allocations: 58.36 kB / 476 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.1443, allocations: 99.86 kB / 476.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.1461, allocations: 1.403 MB / 477.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.1462, allocations: 0 / 477.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.703e-05/0.1463, allocations: 39.98 kB / 477.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000257/0.1465, allocations: 113.9 kB / 477.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.1482, allocations: 1.097 MB / 478.7 MB, free: 1.918 MB / 350.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.006044/0.1542, allocations: 5.969 MB / 484.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009736/0.1552, allocations: 0.6982 MB / 485.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004089/0.1556, allocations: 315.3 kB / 485.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.245e-05/0.1557, allocations: 12.55 kB / 485.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005892/0.1563, allocations: 484.6 kB / 486.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.385e-06/0.1563, allocations: 0 / 486.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003143/0.1595, allocations: 2.144 MB / 488.4 MB, free: 7.855 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/0.1596, allocations: 166.8 kB / 488.5 MB, free: 7.656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006897/0.1602, allocations: 0.6367 MB / 489.2 MB, free: 7.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.1603, allocations: 45.75 kB / 489.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.1607, allocations: 0.5366 MB / 489.7 MB, free: 6.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.1609, allocations: 228.8 kB / 490 MB, free: 6.184 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/0.1612, allocations: 202.7 kB / 490.2 MB, free: 5.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1614, allocations: 390.7 kB / 490.5 MB, free: 5.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004976/0.1619, allocations: 338.4 kB / 490.9 MB, free: 5.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007325/0.1626, allocations: 0.7659 MB / 491.6 MB, free: 4.293 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.164, allocations: 1.252 MB / 492.9 MB, free: 2.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.164, allocations: 4 kB / 492.9 MB, free: 2.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002353/0.1664, allocations: 1.431 MB / 494.3 MB, free: 1.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.716e-05/0.1664, allocations: 47.67 kB / 494.4 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001343/0.1678, allocations: 0.7901 MB / 495.2 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007364/0.1685, allocations: 256.2 kB / 495.4 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007037/0.1693, allocations: 211.6 kB / 495.6 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004575/0.1738, allocations: 4.386 MB / 500 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007788/0.1746, allocations: 59.91 kB / 0.4883 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/0.1749, allocations: 60.12 kB / 0.4884 GB, free: 11.27 MB / 382.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.0005875/0.1755, allocations: 410.9 kB / 0.4888 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.1756, allocations: 79 kB / 0.4889 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.1769, allocations: 0.8515 MB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.177, allocations: 8 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.177, allocations: 0 / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.177, allocations: 0 / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.1797, allocations: 1.771 MB / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.1797, allocations: 4 kB / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/0.1804, allocations: 151.9 kB / 0.4916 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.1804, allocations: 4 kB / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.1805, allocations: 23.98 kB / 0.4916 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.1805, allocations: 4 kB / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1805, allocations: 4 kB / 0.4916 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.1822, allocations: 1.301 MB / 0.4929 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.1825, allocations: 200.2 kB / 0.4931 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.1826, allocations: 19.98 kB / 0.4931 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.183, allocations: 27.97 kB / 0.4931 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.1831, allocations: 52.38 kB / 0.4932 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.219e-05/0.1832, allocations: 47.95 kB / 0.4932 GB, free: 6.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004773/0.1837, allocations: 423 kB / 0.4936 GB, free: 5.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1837, allocations: 0 / 0.4936 GB, free: 5.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008921/0.1846, allocations: 232 kB / 0.4938 GB, free: 5.527 MB / 382.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.002035/0.1867, allocations: 1.865 MB / 0.4957 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002323/0.189, allocations: 1.416 MB / 0.497 GB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.189, allocations: 0 / 0.497 GB, free: 2.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005437/0.1896, allocations: 471.9 kB / 0.4975 GB, free: 1.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007425/0.1903, allocations: 138 kB / 0.4976 GB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.2014, allocations: 8.251 MB / 0.5057 GB, free: 8.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007555/0.2022, allocations: 1.114 MB / 0.5068 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007469/0.2029, allocations: 286.4 kB / 0.507 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004051/0.2033, allocations: 335.3 kB / 0.5074 GB, free: 7.012 MB / 398.1 MB Notification: Performance of SimCode: time 1.262e-06/0.2034, allocations: 0 / 0.5074 GB, free: 7.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2222/0.4255, allocations: 15.8 MB / 0.5228 GB, free: 70.92 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.001/9.427, allocations: 1.188 kB / 0.5228 GB, free: 70.92 MB / 398.1 MB (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 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > 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