Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.00139/0.00139, allocations: 115.7 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.001463/0.001463, allocations: 216.6 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.04054/0.04054, allocations: 6.15 MB / 319.4 MB, free: 12.92 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.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 51.91 kB / 444.5 MB, free: 5.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.115, allocations: 55.02 MB / 499.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.003676/0.1187, allocations: 1.736 MB / 0.4895 GB, free: 12.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002791/0.1215, allocations: 1.641 MB / 0.4911 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1216, allocations: 4 kB / 0.4911 GB, free: 10.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004675/0.1221, allocations: 139.2 kB / 0.4913 GB, free: 10.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004112/0.1225, allocations: 155.1 kB / 0.4914 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.1246, allocations: 1.06 MB / 0.4924 GB, free: 9.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.125, allocations: 270.7 kB / 0.4927 GB, free: 9.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1252, allocations: 64.83 kB / 0.4928 GB, free: 9.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1253, allocations: 115.6 kB / 0.4929 GB, free: 9.008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.1255, allocations: 139.3 kB / 0.493 GB, free: 8.871 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.396e-05/0.1256, allocations: 20 kB / 0.493 GB, free: 8.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.126, allocations: 247.8 kB / 0.4933 GB, free: 8.609 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.331e-05/0.1261, allocations: 63.75 kB / 0.4933 GB, free: 8.547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.1263, allocations: 127.3 kB / 0.4934 GB, free: 8.422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006451/0.1269, allocations: 462.4 kB / 0.4939 GB, free: 7.969 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1269, allocations: 0 / 0.4939 GB, free: 7.969 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1269, allocations: 0 / 0.4939 GB, free: 7.969 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1269, allocations: 0 / 0.4939 GB, free: 7.969 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.004169/0.1311, allocations: 1.051 MB / 0.4949 GB, free: 6.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.1311, allocations: 8.031 kB / 0.4949 GB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.297e-05/0.1312, allocations: 54.73 kB / 0.495 GB, free: 6.809 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.2e-05/0.1313, allocations: 36.69 kB / 0.495 GB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.1317, allocations: 213.9 kB / 0.4952 GB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.1317, allocations: 20.75 kB / 0.4952 GB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.1318, allocations: 24.38 kB / 0.4952 GB, free: 6.496 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.1324, allocations: 347.7 kB / 0.4956 GB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1324, allocations: 3.938 kB / 0.4956 GB, free: 6.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.1324, allocations: 12 kB / 0.4956 GB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1324, allocations: 4 kB / 0.4956 GB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00052/0.133, allocations: 311.2 kB / 0.4959 GB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.1349, allocations: 0.9089 MB / 0.4968 GB, free: 4.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008935/0.1358, allocations: 354.7 kB / 0.4971 GB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.136, allocations: 148.8 kB / 0.4973 GB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009077/0.137, allocations: 0.5942 MB / 0.4978 GB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.137, allocations: 46.73 kB / 0.4979 GB, free: 3.695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.194e-06/0.137, allocations: 0 / 0.4979 GB, free: 3.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.003836/0.1408, allocations: 0.9803 MB / 0.4988 GB, free: 2.703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.141, allocations: 110.8 kB / 0.4989 GB, free: 2.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.1412, allocations: 228.8 kB / 0.4992 GB, free: 2.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.915e-05/0.1413, allocations: 37.7 kB / 0.4992 GB, free: 2.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.1414, allocations: 144.8 kB / 0.4993 GB, free: 2.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.1415, allocations: 99.16 kB / 0.4994 GB, free: 2.051 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.1417, allocations: 82.11 kB / 0.4995 GB, free: 1.961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.1419, allocations: 338.8 kB / 0.4998 GB, free: 1.621 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.1422, allocations: 188.8 kB / 0.5 GB, free: 1.438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.1426, allocations: 279.1 kB / 0.5003 GB, free: 1.145 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007218/0.1433, allocations: 480.9 kB / 0.5007 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1433, allocations: 0 / 0.5007 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002306/0.1456, allocations: 0.8106 MB / 0.5015 GB, free: 15.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.1457, allocations: 4 kB / 0.5015 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1457, allocations: 4 kB / 0.5015 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002037/0.1477, allocations: 413.3 kB / 0.5019 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.148, allocations: 67.89 kB / 0.502 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005431/0.1534, allocations: 3.824 MB / 0.5057 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.1538, allocations: 51.69 kB / 0.5058 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.1538, allocations: 16.09 kB / 0.5058 GB, free: 11.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002098/0.154, allocations: 157.6 kB / 0.5059 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.1541, allocations: 23.86 kB / 0.506 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.1563, allocations: 0.729 MB / 0.5067 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.1563, allocations: 4 kB / 0.5067 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1563, allocations: 0 / 0.5067 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.1563, allocations: 11.97 kB / 0.5067 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/0.1569, allocations: 396.1 kB / 0.5071 GB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1569, allocations: 0 / 0.5071 GB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.1571, allocations: 43.91 kB / 0.5071 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002027/0.1591, allocations: 409.3 kB / 0.5075 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.1591, allocations: 11.98 kB / 0.5075 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00547/0.1646, allocations: 3.801 MB / 0.5112 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1646, allocations: 0 / 0.5112 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.1667, allocations: 0.7667 MB / 0.512 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.1668, allocations: 31.67 kB / 0.512 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.1668, allocations: 8 kB / 0.512 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.1671, allocations: 15.98 kB / 0.512 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.1671, allocations: 23.95 kB / 0.5121 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.1672, allocations: 12 kB / 0.5121 GB, free: 4.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.1673, allocations: 160.5 kB / 0.5122 GB, free: 4.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1673, allocations: 0 / 0.5122 GB, free: 4.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005319/0.1679, allocations: 120 kB / 0.5123 GB, free: 4.203 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002468/0.1703, allocations: 1.335 MB / 0.5136 GB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.1721, allocations: 0.7392 MB / 0.5144 GB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1721, allocations: 0 / 0.5144 GB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.1732, allocations: 0.5013 MB / 0.5148 GB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.1736, allocations: 27.25 kB / 0.5149 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2352/0.4088, allocations: 3.713 MB / 0.5185 GB, free: 28.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.4092, allocations: 0.7633 MB / 0.5192 GB, free: 27.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000156/0.4093, allocations: 29.84 kB / 0.5193 GB, free: 27.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.4095, allocations: 84.91 kB / 0.5194 GB, free: 27.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.415e-06/0.4095, allocations: 3.906 kB / 0.5194 GB, free: 27.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04723/0.4567, allocations: 9.443 MB / 0.5286 GB, free: 26.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.19, allocations: 5.5 kB / 0.5286 GB, free: 26.74 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.856655630050227] Failed to read output from testmodel.py, exit status != 0: 12.301667114021257 12.315454505 12.186058815 Calling exit ...