Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.0008167/0.0008167, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0007977/0.0007977, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 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.88/0.88, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2084/0.2084, allocations: 29.4 MB / 290.1 MB, free: 2.453 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.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/2.008e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.004582/0.004602, allocations: 5.274 MB / 435.5 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.006331, allocations: 1.27 MB / 436.7 MB, free: 7.012 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.006559, allocations: 23.75 kB / 436.8 MB, free: 6.988 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.006926, allocations: 127 kB / 436.9 MB, free: 6.863 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006385/0.007564, allocations: 397.8 kB / 437.3 MB, free: 6.473 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.007767, allocations: 131.7 kB / 437.4 MB, free: 6.344 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005843/0.008351, allocations: 0.7823 MB / 438.2 MB, free: 5.559 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.008591, allocations: 124.7 kB / 438.3 MB, free: 5.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006304/0.009221, allocations: 466.5 kB / 438.8 MB, free: 4.973 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005097/0.009731, allocations: 355 kB / 439.1 MB, free: 4.625 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.009784, allocations: 36 kB / 439.2 MB, free: 4.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.894e-05/0.009853, allocations: 40 kB / 439.2 MB, free: 4.551 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.01002, allocations: 207.3 kB / 439.4 MB, free: 4.348 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.01016, allocations: 167.6 kB / 439.6 MB, free: 4.184 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004489/0.01061, allocations: 0.5295 MB / 440.1 MB, free: 3.652 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.01062, allocations: 0 / 440.1 MB, free: 3.652 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01062, allocations: 0 / 440.1 MB, free: 3.652 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.01062, allocations: 0 / 440.1 MB, free: 3.652 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009047/0.01153, allocations: 0.7367 MB / 440.8 MB, free: 2.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.01157, allocations: 15.98 kB / 440.8 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.171e-05/0.01163, allocations: 78.72 kB / 440.9 MB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.01169, allocations: 56.61 kB / 441 MB, free: 2.723 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005123/0.0122, allocations: 420.7 kB / 441.4 MB, free: 2.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.01222, allocations: 29.38 kB / 441.4 MB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.01227, allocations: 44.12 kB / 441.5 MB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.01276, allocations: 0.4961 MB / 442 MB, free: 1.688 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.01277, allocations: 3.984 kB / 442 MB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.0128, allocations: 19.98 kB / 442 MB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.01283, allocations: 21 kB / 442 MB, free: 1.641 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.01324, allocations: 363.7 kB / 442.4 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1594/0.1726, allocations: 1.9 MB / 444.3 MB, free: 53.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.1729, allocations: 225.5 kB / 444.5 MB, free: 53.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.1731, allocations: 116.2 kB / 444.6 MB, free: 53.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.1731, allocations: 7.984 kB / 444.6 MB, free: 53.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.1731, allocations: 37.06 kB / 444.6 MB, free: 53.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.435e-06/0.1731, allocations: 0 / 444.6 MB, free: 53.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007962/0.1739, allocations: 0.6954 MB / 445.3 MB, free: 53.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.1739, allocations: 80.27 kB / 445.4 MB, free: 53.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1741, allocations: 394.2 kB / 445.8 MB, free: 53.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.1741, allocations: 35.36 kB / 445.8 MB, free: 53.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.918e-05/0.1742, allocations: 294.6 kB / 446.1 MB, free: 52.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.1742, allocations: 85.22 kB / 446.2 MB, free: 52.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.1743, allocations: 83.45 kB / 446.3 MB, free: 52.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.756e-05/0.1743, allocations: 349.2 kB / 446.6 MB, free: 52.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.1744, allocations: 82.95 kB / 446.7 MB, free: 52.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1745, allocations: 279.5 kB / 447 MB, free: 52.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.1747, allocations: 402.5 kB / 447.4 MB, free: 51.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1747, allocations: 3 kB / 447.4 MB, free: 51.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000376/0.1751, allocations: 457.1 kB / 447.8 MB, free: 51.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1751, allocations: 8.344 kB / 447.8 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1751, allocations: 10.03 kB / 447.8 MB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001296/0.1753, allocations: 55.45 kB / 447.9 MB, free: 51.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.1754, allocations: 85.86 kB / 448 MB, free: 51.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000636/0.176, allocations: 1.502 MB / 449.5 MB, free: 50.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1761, allocations: 17.53 kB / 449.5 MB, free: 50.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1762, allocations: 19.84 kB / 449.5 MB, free: 50.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.1763, allocations: 201.5 kB / 449.7 MB, free: 50.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.1763, allocations: 49.73 kB / 449.8 MB, free: 50.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.1765, allocations: 237 kB / 450 MB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1765, allocations: 3.156 kB / 450 MB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1765, allocations: 2.562 kB / 450 MB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1765, allocations: 3.562 kB / 450 MB, free: 50.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.1769, allocations: 0.6511 MB / 450.6 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1769, allocations: 0 / 450.6 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.177, allocations: 41.75 kB / 450.7 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.177, allocations: 4.781 kB / 450.7 MB, free: 49.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1771, allocations: 13.81 kB / 450.7 MB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1771, allocations: 3.125 kB / 450.7 MB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1771, allocations: 7.125 kB / 450.7 MB, free: 49.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1773, allocations: 427.1 kB / 451.1 MB, free: 49.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.1773, allocations: 46.02 kB / 451.2 MB, free: 49.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1774, allocations: 7.125 kB / 451.2 MB, free: 49.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.571e-05/0.1774, allocations: 10.53 kB / 451.2 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.836e-05/0.1774, allocations: 13.19 kB / 451.2 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1774, allocations: 10.44 kB / 451.2 MB, free: 49.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1776, allocations: 261.4 kB / 451.5 MB, free: 49.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1776, allocations: 2.906 kB / 451.5 MB, free: 49.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.1778, allocations: 86.91 kB / 451.6 MB, free: 49.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0003337/0.1781, allocations: 0.9578 MB / 452.5 MB, free: 48.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003409/0.1785, allocations: 381.8 kB / 452.9 MB, free: 48.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1785, allocations: 0 / 452.9 MB, free: 48.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.504e-05/0.1786, allocations: 82.97 kB / 453 MB, free: 48.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.1789, allocations: 106.3 kB / 453.1 MB, free: 48.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.1811, allocations: 3.655 MB / 456.7 MB, free: 45.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.1813, allocations: 256 kB / 457 MB, free: 45.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000125/0.1814, allocations: 77.03 kB / 457.1 MB, free: 45.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.1815, allocations: 153 kB / 457.2 MB, free: 45.45 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1815, allocations: 4 kB / 457.2 MB, free: 45.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.2019, allocations: 8.525 MB / 465.7 MB, free: 43.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.042/7.244, allocations: 7.047 kB / 465.7 MB, free: 43.99 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.015689604915679] Failed to read output from testmodel.py, exit status != 0: 7.328993107192218 7.336407409 7.323941484 Calling exit ...