Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.0007627/0.0007627, allocations: 88.33 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001052/0.001052, allocations: 161.3 kB / 24.27 MB, free: 164 kB / 18.57 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 0.9102/0.9102, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2254/0.2254, allocations: 29.42 MB / 290.5 MB, free: 2.418 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.185e-05, allocations: 2.312 kB / 368.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.005729/0.00575, allocations: 6.207 MB / 374.6 MB, free: 5.559 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00315/0.0089, allocations: 2.317 MB / 376.9 MB, free: 3.234 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004024/0.009303, allocations: 31.69 kB / 377 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.01071, allocations: 0.5948 MB / 377.5 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.01187, allocations: 0.7034 MB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008153/0.01269, allocations: 478.5 kB / 378.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.01373, allocations: 1.388 MB / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004484/0.01417, allocations: 408 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007831/0.01496, allocations: 0.7634 MB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007952/0.01575, allocations: 0.7909 MB / 382.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.466e-05/0.01585, allocations: 76 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004763/0.01632, allocations: 295.5 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003563/0.01668, allocations: 0.5532 MB / 383 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.01696, allocations: 371.1 kB / 383.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.0183, allocations: 1.375 MB / 384.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.01831, allocations: 4 kB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01831, allocations: 0 / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.01832, allocations: 0 / 384.7 MB, free: 11.41 MB / 362.7 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.00159/0.01991, allocations: 1.269 MB / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.01996, allocations: 15.98 kB / 386 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.02008, allocations: 152.3 kB / 386.1 MB, free: 9.934 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008922/0.02097, allocations: 367.8 kB / 386.5 MB, free: 9.574 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008476/0.02182, allocations: 0.6724 MB / 387.2 MB, free: 8.875 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.02186, allocations: 62.36 kB / 387.2 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.02202, allocations: 104.6 kB / 387.3 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.02334, allocations: 1.417 MB / 388.8 MB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.02336, allocations: 7.938 kB / 388.8 MB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.046e-05/0.02342, allocations: 28 kB / 388.8 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/0.02359, allocations: 121.9 kB / 388.9 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.02472, allocations: 1.126 MB / 390 MB, free: 5.898 MB / 362.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.00484/0.02956, allocations: 5.451 MB / 395.5 MB, free: 204 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000691/0.03025, allocations: 0.616 MB / 396.1 MB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.03055, allocations: 320.8 kB / 396.4 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/0.03059, allocations: 20.42 kB / 396.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005071/0.0311, allocations: 0.4947 MB / 396.9 MB, free: 14.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 3.717e-06/0.03111, allocations: 4 kB / 396.9 MB, free: 14.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002889/0.03399, allocations: 2.192 MB / 399.1 MB, free: 12.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.03406, allocations: 170.8 kB / 399.3 MB, free: 12.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000511/0.03458, allocations: 0.6599 MB / 400 MB, free: 11.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.03461, allocations: 37.7 kB / 400 MB, free: 11.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.03489, allocations: 0.5462 MB / 400.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.035, allocations: 234.2 kB / 400.8 MB, free: 10.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.03517, allocations: 206.8 kB / 401 MB, free: 10.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.0353, allocations: 382.8 kB / 401.3 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.03565, allocations: 372.1 kB / 401.7 MB, free: 9.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/0.03616, allocations: 0.7992 MB / 402.5 MB, free: 8.758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000931/0.03709, allocations: 1.246 MB / 403.8 MB, free: 7.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.0371, allocations: 4 kB / 403.8 MB, free: 7.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001631/0.03873, allocations: 1.52 MB / 405.3 MB, free: 5.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.03877, allocations: 37.7 kB / 405.3 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001101/0.03987, allocations: 0.7886 MB / 406.1 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005027/0.04038, allocations: 297.5 kB / 406.4 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.04075, allocations: 215.6 kB / 406.6 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.04375, allocations: 4.155 MB / 410.8 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/0.04424, allocations: 59.98 kB / 410.8 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/0.04431, allocations: 59.98 kB / 410.9 MB, free: 15.89 MB / 394.7 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.0004398/0.04475, allocations: 395 kB / 411.3 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.862e-05/0.04485, allocations: 103.5 kB / 411.4 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008814/0.04573, allocations: 0.8947 MB / 412.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.04573, allocations: 8 kB / 412.3 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.04574, allocations: 0 / 412.3 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.04574, allocations: 7.984 kB / 412.3 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.04769, allocations: 1.715 MB / 414 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.0477, allocations: 0 / 414 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.04807, allocations: 151.9 kB / 414.1 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.04807, allocations: 8 kB / 414.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.0481, allocations: 19.98 kB / 414.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.04811, allocations: 4 kB / 414.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.04811, allocations: 0 / 414.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.04924, allocations: 1.397 MB / 415.6 MB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.04943, allocations: 131.5 kB / 415.7 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/0.04948, allocations: 19.98 kB / 415.7 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.04967, allocations: 31.97 kB / 415.7 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/0.04975, allocations: 52.3 kB / 415.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.0498, allocations: 39.97 kB / 415.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003245/0.05013, allocations: 427 kB / 416.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05013, allocations: 0 / 416.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000627/0.05075, allocations: 232 kB / 416.5 MB, free: 10.12 MB / 394.7 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.001394/0.05215, allocations: 1.96 MB / 418.4 MB, free: 8.102 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.05363, allocations: 1.264 MB / 419.7 MB, free: 6.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.05363, allocations: 0 / 419.7 MB, free: 6.785 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006756/0.05431, allocations: 447.8 kB / 420.1 MB, free: 6.328 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.05483, allocations: 150.4 kB / 420.3 MB, free: 6.188 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008133/0.06297, allocations: 8.214 MB / 428.5 MB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.06339, allocations: 0.5115 MB / 429 MB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004577/0.06384, allocations: 298.4 kB / 429.3 MB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.06416, allocations: 332.4 kB / 429.6 MB, free: 12.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.914e-06/0.06416, allocations: 0 / 429.6 MB, free: 12.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1517/0.2159, allocations: 17.56 MB / 447.2 MB, free: 109 MB / 410.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 7.448/7.664, allocations: 8.609 kB / 447.2 MB, free: 109 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer_OMSimulator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer_OMSimulator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer_OMSimulator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer_OMSimulator_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer_fmpy.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer_fmpy.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer_fmpy.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer_fmpy_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.633728734974284]