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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006954/0.0006954, allocations: 90.25 kB / 16.65 MB, free: 6.59 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.0008287/0.0008287, allocations: 181.8 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.175/0.175, allocations: 38.05 MB / 310.1 MB, free: 5.914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008148/0.0008148, allocations: 12 kB / 377.3 MB, free: 2.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2692, allocations: 56.34 MB / 433.6 MB, free: 18.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.005641/0.2748, allocations: 7.14 MB / 440.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003855/0.2787, allocations: 2.782 MB / 443.5 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.2791, allocations: 47.62 kB / 443.6 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005222/0.2797, allocations: 198.8 kB / 443.8 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.2807, allocations: 0.6462 MB / 444.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.2814, allocations: 403.3 kB / 444.8 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.2827, allocations: 2.289 MB / 447.1 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009443/0.2837, allocations: 0.7725 MB / 447.9 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004816/0.2842, allocations: 477.8 kB / 448.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008814/0.2851, allocations: 0.8062 MB / 449.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.763e-05/0.2852, allocations: 36 kB / 449.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004422/0.2856, allocations: 271.5 kB / 449.4 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003468/0.286, allocations: 490.8 kB / 449.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003609/0.2863, allocations: 0.4991 MB / 450.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008591/0.2872, allocations: 1.25 MB / 451.7 MB, free: 496 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2872, allocations: 4 kB / 451.7 MB, free: 492 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2872, allocations: 7.938 kB / 451.7 MB, free: 484 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.2872, allocations: 0 / 451.7 MB, free: 484 kB / 318.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.001894/0.2891, allocations: 1.136 MB / 452.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.2892, allocations: 12.03 kB / 452.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/0.2894, allocations: 148.3 kB / 453 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.2904, allocations: 207.4 kB / 453.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.2914, allocations: 0.6706 MB / 453.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.2915, allocations: 70.3 kB / 453.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.2917, allocations: 103.8 kB / 454 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.2936, allocations: 1.384 MB / 455.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.2937, allocations: 7.938 kB / 455.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.632e-05/0.2938, allocations: 35.98 kB / 455.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002721/0.2941, allocations: 121.9 kB / 455.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.2957, allocations: 1.089 MB / 456.6 MB, free: 11.29 MB / 334.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.006179/0.3019, allocations: 5.969 MB / 462.6 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009951/0.3029, allocations: 0.7011 MB / 463.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004242/0.3033, allocations: 319.3 kB / 463.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.3034, allocations: 12.55 kB / 463.6 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006201/0.304, allocations: 484.8 kB / 464.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 2.044e-06/0.304, allocations: 0 / 464.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.003174/0.3072, allocations: 2.148 MB / 466.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.3073, allocations: 178.8 kB / 466.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007005/0.308, allocations: 0.6327 MB / 467.1 MB, free: 372 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.3081, allocations: 37.7 kB / 467.1 MB, free: 328 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.3085, allocations: 0.529 MB / 467.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.3087, allocations: 228.8 kB / 467.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.3088, allocations: 93.66 kB / 467.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.309, allocations: 390.7 kB / 468.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004963/0.3095, allocations: 338.4 kB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000794/0.3103, allocations: 0.7737 MB / 469.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.3118, allocations: 1.244 MB / 470.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3118, allocations: 4 kB / 470.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002381/0.3142, allocations: 1.446 MB / 472.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.3142, allocations: 45.62 kB / 472.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001353/0.3156, allocations: 0.7865 MB / 473 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006842/0.3163, allocations: 249.5 kB / 473.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.3169, allocations: 215.6 kB / 473.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004357/0.3213, allocations: 4.036 MB / 477.4 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/0.322, allocations: 55.88 kB / 477.5 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.3221, allocations: 68.09 kB / 477.6 MB, free: 5.094 MB / 350.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.0006233/0.3228, allocations: 403 kB / 478 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.3229, allocations: 75.16 kB / 478 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.3242, allocations: 0.8438 MB / 478.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.3242, allocations: 7.938 kB / 478.9 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3242, allocations: 3.938 kB / 478.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3243, allocations: 7.984 kB / 478.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.3268, allocations: 1.764 MB / 480.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3268, allocations: 0 / 480.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006478/0.3275, allocations: 155.9 kB / 480.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.3275, allocations: 4 kB / 480.8 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.3276, allocations: 27.97 kB / 480.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.3276, allocations: 4 kB / 480.9 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3276, allocations: 0 / 480.9 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.3293, allocations: 1.305 MB / 482.2 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.3296, allocations: 204.1 kB / 482.4 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/0.3296, allocations: 12 kB / 482.4 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.33, allocations: 31.97 kB / 482.4 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.3301, allocations: 52.44 kB / 482.4 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.222e-05/0.3302, allocations: 40.05 kB / 482.5 MB, free: 16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004746/0.3307, allocations: 427 kB / 482.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3307, allocations: 0 / 482.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008411/0.3315, allocations: 232 kB / 483.1 MB, free: 15.36 MB / 366.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.002051/0.3336, allocations: 1.869 MB / 485 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.3354, allocations: 1.237 MB / 486.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3355, allocations: 0 / 486.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005762/0.336, allocations: 470.8 kB / 486.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008513/0.3369, allocations: 131.4 kB / 486.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.3477, allocations: 8.716 MB / 495.5 MB, free: 2.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000734/0.3485, allocations: 1.118 MB / 496.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007466/0.3492, allocations: 286.4 kB / 496.9 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004401/0.3497, allocations: 335.3 kB / 497.3 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3497, allocations: 0 / 497.3 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.3781, allocations: 15.03 MB / 0.5003 GB, free: 1.559 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/0.3783, allocations: 230.4 kB / 0.5005 GB, free: 1.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.391, allocations: 0 / 0.5005 GB, free: 1.293 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.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_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)