Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.001773/0.001773, allocations: 118.2 kB / 19.74 MB, free: 2.141 MB / 14.72 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.002095/0.002095, allocations: 220.1 kB / 23.05 MB, free: 4.945 MB / 14.72 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 1.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04062/0.04062, allocations: 6.13 MB / 319.4 MB, free: 12.96 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 47.92 kB / 444.5 MB, free: 5.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.115, allocations: 55.01 MB / 499.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.003273/0.1183, allocations: 1.793 MB / 0.4896 GB, free: 12.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.1206, allocations: 1.61 MB / 0.4911 GB, free: 10.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.1208, allocations: 8 kB / 0.4911 GB, free: 10.85 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.1213, allocations: 143.2 kB / 0.4913 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.1216, allocations: 135.1 kB / 0.4914 GB, free: 10.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.1231, allocations: 0.6594 MB / 0.492 GB, free: 9.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005316/0.1236, allocations: 294.6 kB / 0.4923 GB, free: 9.629 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.1238, allocations: 77.92 kB / 0.4924 GB, free: 9.551 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.124, allocations: 119.6 kB / 0.4925 GB, free: 9.434 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.1242, allocations: 151.4 kB / 0.4927 GB, free: 9.285 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.198e-05/0.1243, allocations: 28 kB / 0.4927 GB, free: 9.258 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004656/0.1247, allocations: 195.8 kB / 0.4929 GB, free: 9.066 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.216e-05/0.1248, allocations: 59.77 kB / 0.4929 GB, free: 9.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.125, allocations: 139.3 kB / 0.4931 GB, free: 8.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007428/0.1257, allocations: 434.5 kB / 0.4935 GB, free: 8.445 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1257, allocations: 0 / 0.4935 GB, free: 8.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1257, allocations: 0 / 0.4935 GB, free: 8.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1257, allocations: 0 / 0.4935 GB, free: 8.445 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003196/0.1289, allocations: 0.8951 MB / 0.4944 GB, free: 7.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.129, allocations: 12.03 kB / 0.4944 GB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.775e-05/0.1291, allocations: 58.72 kB / 0.4944 GB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.624e-05/0.1291, allocations: 36.73 kB / 0.4945 GB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.1294, allocations: 222.6 kB / 0.4947 GB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.1295, allocations: 16.81 kB / 0.4947 GB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.1295, allocations: 24.38 kB / 0.4947 GB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/0.1302, allocations: 347.8 kB / 0.495 GB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1302, allocations: 3.938 kB / 0.495 GB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/0.1303, allocations: 12 kB / 0.4951 GB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1303, allocations: 4 kB / 0.4951 GB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.1308, allocations: 349.6 kB / 0.4954 GB, free: 6.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.1327, allocations: 0.9892 MB / 0.4964 GB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00063/0.1333, allocations: 378.4 kB / 0.4967 GB, free: 5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.1336, allocations: 204.8 kB / 0.4969 GB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.969e-05/0.1337, allocations: 11.98 kB / 0.4969 GB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.809e-05/0.1338, allocations: 43.09 kB / 0.497 GB, free: 4.734 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.964e-06/0.1338, allocations: 4 kB / 0.497 GB, free: 4.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002467/0.1362, allocations: 0.8371 MB / 0.4978 GB, free: 3.879 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.1363, allocations: 59.39 kB / 0.4978 GB, free: 3.809 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.1366, allocations: 235 kB / 0.4981 GB, free: 3.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.1366, allocations: 37.64 kB / 0.4981 GB, free: 3.527 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1368, allocations: 140.8 kB / 0.4982 GB, free: 3.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.1369, allocations: 126.9 kB / 0.4984 GB, free: 3.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.137, allocations: 86.11 kB / 0.4984 GB, free: 3.168 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.1372, allocations: 342.8 kB / 0.4988 GB, free: 2.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.1376, allocations: 236.8 kB / 0.499 GB, free: 2.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.138, allocations: 243.9 kB / 0.4992 GB, free: 2.355 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008276/0.1389, allocations: 0.5132 MB / 0.4997 GB, free: 1.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1389, allocations: 0 / 0.4997 GB, free: 1.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0016/0.1405, allocations: 0.7327 MB / 0.5004 GB, free: 1.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.1405, allocations: 4 kB / 0.5004 GB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1405, allocations: 0 / 0.5004 GB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007848/0.1413, allocations: 158.5 kB / 0.5006 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.1417, allocations: 79.89 kB / 0.5007 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004973/0.1467, allocations: 4.312 MB / 0.5049 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.147, allocations: 39.7 kB / 0.5049 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.035e-05/0.1471, allocations: 16 kB / 0.5049 GB, free: 12.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002559/0.1473, allocations: 149.7 kB / 0.5051 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.24e-05/0.1474, allocations: 23.86 kB / 0.5051 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.1488, allocations: 0.6002 MB / 0.5057 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.1488, allocations: 4 kB / 0.5057 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1488, allocations: 0 / 0.5057 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1488, allocations: 3.984 kB / 0.5057 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.1494, allocations: 436.1 kB / 0.5061 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1494, allocations: 0 / 0.5061 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.1496, allocations: 51.91 kB / 0.5062 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006027/0.1502, allocations: 154.5 kB / 0.5063 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.1502, allocations: 4 kB / 0.5063 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004567/0.1548, allocations: 4.307 MB / 0.5105 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1548, allocations: 0 / 0.5105 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.1561, allocations: 0.6275 MB / 0.5111 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.1562, allocations: 31.78 kB / 0.5112 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.1562, allocations: 7.953 kB / 0.5112 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.1564, allocations: 12 kB / 0.5112 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.429e-05/0.1565, allocations: 23.95 kB / 0.5112 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.1565, allocations: 8 kB / 0.5112 GB, free: 5.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.1567, allocations: 168.1 kB / 0.5114 GB, free: 5.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1567, allocations: 0 / 0.5114 GB, free: 5.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005426/0.1573, allocations: 119.9 kB / 0.5115 GB, free: 4.977 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001685/0.1589, allocations: 1.206 MB / 0.5127 GB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.1607, allocations: 0.8464 MB / 0.5135 GB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1607, allocations: 0 / 0.5135 GB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.1618, allocations: 0.578 MB / 0.5141 GB, free: 2.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1621, allocations: 16.67 kB / 0.5141 GB, free: 2.215 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2044/0.3665, allocations: 3.597 MB / 0.5176 GB, free: 28.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.3667, allocations: 0.7594 MB / 0.5183 GB, free: 28.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.3669, allocations: 31.11 kB / 0.5184 GB, free: 28.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.367, allocations: 82.08 kB / 0.5184 GB, free: 28.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.367, allocations: 0 / 0.5184 GB, free: 28.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05707/0.4241, allocations: 7.798 MB / 0.5261 GB, free: 27.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.14, allocations: 1.5 kB / 0.5261 GB, free: 27.65 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.849220004864037] Failed to read output from testmodel.py, exit status != 0: 12.250721605028957 12.274589788 12.144467715 Calling exit ...