Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.0008147/0.0008147, 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.0008619/0.0008619, allocations: 170.3 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.8914/0.8914, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2284/0.2284, allocations: 29.42 MB / 290.1 MB, free: 2.461 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.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.8e-05/4.933e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.004283/0.004332, allocations: 4.584 MB / 434.8 MB, free: 8.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.005706, allocations: 1.285 MB / 436.1 MB, free: 7.691 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.005855, allocations: 15.88 kB / 436.1 MB, free: 7.676 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006661/0.006521, allocations: 398.2 kB / 436.5 MB, free: 7.285 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005728/0.007094, allocations: 246.5 kB / 436.7 MB, free: 7.043 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.007386, allocations: 183.3 kB / 436.9 MB, free: 6.863 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.007755, allocations: 0.5644 MB / 437.5 MB, free: 6.297 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.008068, allocations: 262.2 kB / 437.7 MB, free: 6.035 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.008392, allocations: 354.9 kB / 438.1 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.008635, allocations: 255.2 kB / 438.3 MB, free: 5.438 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.008669, allocations: 32 kB / 438.4 MB, free: 5.406 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.008858, allocations: 127.7 kB / 438.5 MB, free: 5.281 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.008977, allocations: 195.5 kB / 438.7 MB, free: 5.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.009088, allocations: 159.6 kB / 438.8 MB, free: 4.934 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.009475, allocations: 0.5373 MB / 439.4 MB, free: 4.395 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.009477, allocations: 0 / 439.4 MB, free: 4.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.009478, allocations: 0 / 439.4 MB, free: 4.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.009483, allocations: 0 / 439.4 MB, free: 4.395 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.000686/0.01017, allocations: 0.6427 MB / 440 MB, free: 3.719 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.0102, allocations: 15.98 kB / 440 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.673e-05/0.01026, allocations: 70.72 kB / 440.1 MB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.0106, allocations: 100.5 kB / 440.2 MB, free: 3.527 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/0.01101, allocations: 351.9 kB / 440.5 MB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.01103, allocations: 29.36 kB / 440.6 MB, free: 3.121 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.785e-05/0.01112, allocations: 40.7 kB / 440.6 MB, free: 3.082 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.01154, allocations: 480.8 kB / 441.1 MB, free: 2.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.01155, allocations: 3.938 kB / 441.1 MB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.01158, allocations: 19.98 kB / 441.1 MB, free: 2.566 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/0.01163, allocations: 28.92 kB / 441.1 MB, free: 2.535 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.01196, allocations: 339.7 kB / 441.5 MB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.01323, allocations: 1.483 MB / 442.9 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.01345, allocations: 161.1 kB / 443.1 MB, free: 480 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.01356, allocations: 106.5 kB / 443.2 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.01357, allocations: 0 / 443.2 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.01359, allocations: 42.56 kB / 443.2 MB, free: 316 kB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.102e-06/0.01359, allocations: 0 / 443.2 MB, free: 316 kB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.1781/0.1917, allocations: 0.7078 MB / 443.9 MB, free: 54.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.1917, allocations: 83.33 kB / 444 MB, free: 54.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.1919, allocations: 317.2 kB / 444.3 MB, free: 54.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1919, allocations: 29.27 kB / 444.4 MB, free: 54.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.192, allocations: 256.6 kB / 444.6 MB, free: 54.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.192, allocations: 80.16 kB / 444.7 MB, free: 54.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.1921, allocations: 59.16 kB / 444.8 MB, free: 54.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.1922, allocations: 339.1 kB / 445.1 MB, free: 53.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.341e-05/0.1922, allocations: 100.5 kB / 445.2 MB, free: 53.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1924, allocations: 193 kB / 445.4 MB, free: 53.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.1926, allocations: 329.3 kB / 445.7 MB, free: 53.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1926, allocations: 3.562 kB / 445.7 MB, free: 53.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004668/0.1931, allocations: 432.6 kB / 446.1 MB, free: 53.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1931, allocations: 6.906 kB / 446.1 MB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002625/0.1933, allocations: 259 kB / 446.4 MB, free: 53.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/0.1936, allocations: 80.91 kB / 446.5 MB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.1937, allocations: 68.03 kB / 446.5 MB, free: 53.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009447/0.1947, allocations: 1.605 MB / 448.1 MB, free: 51.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.1948, allocations: 14.28 kB / 448.1 MB, free: 51.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.1948, allocations: 13.28 kB / 448.2 MB, free: 51.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (34): * Single equations (assignments): 33 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.195, allocations: 192.2 kB / 448.3 MB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.195, allocations: 28.81 kB / 448.4 MB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.1953, allocations: 273.8 kB / 448.6 MB, free: 51.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1953, allocations: 7.281 kB / 448.6 MB, free: 51.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.1953, allocations: 0 / 448.6 MB, free: 51.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1953, allocations: 6.469 kB / 448.7 MB, free: 51.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006959/0.196, allocations: 0.6936 MB / 449.3 MB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.196, allocations: 0 / 449.3 MB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.1962, allocations: 53.75 kB / 449.4 MB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1962, allocations: 5.688 kB / 449.4 MB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.1962, allocations: 14.48 kB / 449.4 MB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1962, allocations: 3.938 kB / 449.4 MB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1962, allocations: 3.094 kB / 449.4 MB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.1965, allocations: 444.8 kB / 449.9 MB, free: 50.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.479e-05/0.1965, allocations: 33.02 kB / 449.9 MB, free: 50.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.1965, allocations: 14.52 kB / 449.9 MB, free: 50.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.1966, allocations: 10.16 kB / 449.9 MB, free: 50.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.1966, allocations: 12.97 kB / 449.9 MB, free: 50.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.1966, allocations: 11.44 kB / 449.9 MB, free: 50.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001087/0.1968, allocations: 215.5 kB / 450.1 MB, free: 50.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1968, allocations: 3.969 kB / 450.2 MB, free: 50.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.197, allocations: 84.84 kB / 450.2 MB, free: 50.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (23): * Single equations (assignments): 22 * 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.0004019/0.1974, allocations: 0.9876 MB / 451.2 MB, free: 49.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004095/0.1978, allocations: 366.3 kB / 451.6 MB, free: 49.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1978, allocations: 0 / 451.6 MB, free: 49.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.775e-05/0.1979, allocations: 100.1 kB / 451.7 MB, free: 49.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.1982, allocations: 69.86 kB / 451.7 MB, free: 49.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.201, allocations: 3.47 MB / 455.2 MB, free: 47.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.2011, allocations: 245.6 kB / 455.5 MB, free: 47.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.2012, allocations: 71.17 kB / 455.5 MB, free: 47.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.2013, allocations: 138.4 kB / 455.7 MB, free: 47.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2013, allocations: 0 / 455.7 MB, free: 47.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.2256, allocations: 8.098 MB / 463.8 MB, free: 45.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.924/7.15, allocations: 11.36 kB / 463.8 MB, free: 45.69 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.983577041886747] Failed to read output from testmodel.py, exit status != 0: 7.233859601430595 7.240134499 7.229234387 Calling exit ...