Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.0008395/0.0008395, allocations: 76.52 kB / 19.96 MB, free: 4.602 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.0008556/0.0008556, allocations: 173.9 kB / 23.25 MB, free: 1.312 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.9286/0.9286, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.02801/0.02801, allocations: 4.476 MB / 264.5 MB, free: 8.766 MB / 250.7 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.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.327e-06/3.327e-06, allocations: 4 kB / 389.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.181e-05, allocations: 4.812 kB / 389.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.001699/0.001731, allocations: 0.991 MB / 390.6 MB, free: 6.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.00326, allocations: 1.458 MB / 392 MB, free: 4.957 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.003332, allocations: 4 kB / 392 MB, free: 4.953 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.003653, allocations: 95.38 kB / 392.1 MB, free: 4.859 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.003911, allocations: 87.45 kB / 392.2 MB, free: 4.773 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.004982, allocations: 0.7855 MB / 393 MB, free: 3.984 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.005263, allocations: 111.4 kB / 393.1 MB, free: 3.875 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.005396, allocations: 25.16 kB / 393.1 MB, free: 3.848 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.726e-05/0.005483, allocations: 59.88 kB / 393.2 MB, free: 3.789 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.672e-05/0.00556, allocations: 39.89 kB / 393.2 MB, free: 3.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.005584, allocations: 8 kB / 393.3 MB, free: 3.742 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000464/0.006048, allocations: 211.5 kB / 393.5 MB, free: 3.535 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.019e-05/0.006078, allocations: 19.86 kB / 393.5 MB, free: 3.516 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.006133, allocations: 47.91 kB / 393.5 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005082/0.006641, allocations: 299.1 kB / 393.8 MB, free: 3.176 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.006645, allocations: 3.938 kB / 393.8 MB, free: 3.172 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.006647, allocations: 0 / 393.8 MB, free: 3.172 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.006653, allocations: 0 / 393.8 MB, free: 3.172 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001416/0.008069, allocations: 0.5792 MB / 394.4 MB, free: 2.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.008112, allocations: 16.03 kB / 394.4 MB, free: 2.543 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.008154, allocations: 46.73 kB / 394.5 MB, free: 2.488 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.008203, allocations: 8.891 kB / 394.5 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.00838, allocations: 137.7 kB / 394.6 MB, free: 2.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.008392, allocations: 12.38 kB / 394.6 MB, free: 2.309 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.00841, allocations: 8.375 kB / 394.6 MB, free: 2.301 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.008662, allocations: 193.5 kB / 394.8 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.00867, allocations: 4.172 kB / 394.8 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.008685, allocations: 4.375 kB / 394.8 MB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.008692, allocations: 8.125 kB / 394.8 MB, free: 2.078 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.008845, allocations: 120 kB / 394.9 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.009599, allocations: 427.6 kB / 395.4 MB, free: 1.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.01004, allocations: 174.5 kB / 395.5 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.01011, allocations: 44.84 kB / 395.6 MB, free: 1.273 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004117/0.01052, allocations: 328.4 kB / 395.9 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.01054, allocations: 34.56 kB / 395.9 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.415e-06/0.01054, allocations: 0 / 395.9 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.000571/0.01111, allocations: 230.2 kB / 396.2 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.01116, allocations: 81.11 kB / 396.2 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.01128, allocations: 157.4 kB / 396.4 MB, free: 404 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.0113, allocations: 25.7 kB / 396.4 MB, free: 372 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.01136, allocations: 128 kB / 396.5 MB, free: 240 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.01139, allocations: 39.62 kB / 396.6 MB, free: 200 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.01145, allocations: 45.7 kB / 396.6 MB, free: 148 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.01155, allocations: 322.8 kB / 396.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.01163, allocations: 63.97 kB / 397 MB, free: 15.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.01176, allocations: 147.6 kB / 397.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.01194, allocations: 179.7 kB / 397.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01194, allocations: 0 / 397.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003999/0.01234, allocations: 254.5 kB / 397.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.01236, allocations: 11.98 kB / 397.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01237, allocations: 0 / 397.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002503/0.01262, allocations: 60.81 kB / 397.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.238e-05/0.01271, allocations: 47.91 kB / 397.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.0138, allocations: 1.369 MB / 399.1 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-05/0.01389, allocations: 19.92 kB / 399.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.0139, allocations: 8 kB / 399.1 MB, free: 13.51 MB / 330.7 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 (21): * Single equations (assignments): 20 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.014, allocations: 134 kB / 399.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.01403, allocations: 11.89 kB / 399.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.01435, allocations: 195.1 kB / 399.4 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01435, allocations: 0 / 399.4 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01435, allocations: 7.938 kB / 399.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01436, allocations: 0 / 399.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.01451, allocations: 188.6 kB / 399.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01452, allocations: 4.375 kB / 399.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.01455, allocations: 15.98 kB / 399.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/0.01473, allocations: 60.81 kB / 399.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.01474, allocations: 3.938 kB / 399.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009601/0.0157, allocations: 1.369 MB / 401.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.0157, allocations: 0 / 401.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.01596, allocations: 264.2 kB / 401.3 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.01598, allocations: 15.83 kB / 401.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.01599, allocations: 8.156 kB / 401.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.01605, allocations: 7.984 kB / 401.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.01608, allocations: 7.984 kB / 401.4 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.01609, allocations: 8 kB / 401.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.963e-05/0.01616, allocations: 122 kB / 401.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01616, allocations: 0 / 401.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.01641, allocations: 40 kB / 401.5 MB, free: 10.86 MB / 330.7 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 (10): * Single equations (assignments): 9 * 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,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.0005456/0.01696, allocations: 0.8138 MB / 402.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004649/0.01742, allocations: 262.7 kB / 402.6 MB, free: 9.754 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.01743, allocations: 4.062 kB / 402.6 MB, free: 9.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.01759, allocations: 174.7 kB / 402.8 MB, free: 9.566 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.01777, allocations: 12 kB / 402.8 MB, free: 9.555 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.01974, allocations: 1.954 MB / 404.7 MB, free: 7.488 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.897e-05/0.0198, allocations: 96.66 kB / 404.8 MB, free: 7.371 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.693e-05/0.01986, allocations: 12.97 kB / 404.8 MB, free: 7.355 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.01991, allocations: 28.48 kB / 404.9 MB, free: 7.328 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01992, allocations: 4 kB / 404.9 MB, free: 7.324 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.03905, allocations: 4.285 MB / 409.2 MB, free: 3.172 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/6.964, allocations: 14.91 kB / 409.2 MB, free: 3.16 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.884311396628618] Failed to read output from testmodel.py, exit status != 0: 7.048797847703099 7.203461024 7.194926248 Calling exit ...