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.001309/0.001309, allocations: 105 kB / 20.53 MB, free: 1.43 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.001409/0.001409, allocations: 209.5 kB / 23.83 MB, free: 4.641 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.467/1.467, allocations: 230.6 MB / 257.6 MB, free: 8.016 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.03699/0.03699, allocations: 6.136 MB / 320.2 MB, free: 13.05 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 51.92 kB / 445.3 MB, free: 5.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.1004, allocations: 55.02 MB / 0.4886 GB, free: 14.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.003031/0.1035, allocations: 1.79 MB / 0.4903 GB, free: 12.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.106, allocations: 1.618 MB / 0.4919 GB, free: 10.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1061, allocations: 4 kB / 0.4919 GB, free: 10.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.1065, allocations: 135.2 kB / 0.492 GB, free: 10.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.1069, allocations: 139.1 kB / 0.4922 GB, free: 10.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1082, allocations: 0.6575 MB / 0.4928 GB, free: 10 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004853/0.1087, allocations: 282.7 kB / 0.4931 GB, free: 9.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.1089, allocations: 89.8 kB / 0.4932 GB, free: 9.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.109, allocations: 127.5 kB / 0.4933 GB, free: 9.508 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.1092, allocations: 155.4 kB / 0.4934 GB, free: 9.355 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.1093, allocations: 24 kB / 0.4935 GB, free: 9.332 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003811/0.1097, allocations: 187.8 kB / 0.4936 GB, free: 9.148 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.1097, allocations: 55.77 kB / 0.4937 GB, free: 9.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1099, allocations: 143.3 kB / 0.4938 GB, free: 8.953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005882/0.1105, allocations: 434.5 kB / 0.4943 GB, free: 8.527 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1105, allocations: 0 / 0.4943 GB, free: 8.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1105, allocations: 0 / 0.4943 GB, free: 8.527 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1105, allocations: 0 / 0.4943 GB, free: 8.527 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.00328/0.1137, allocations: 0.899 MB / 0.4951 GB, free: 7.594 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.1138, allocations: 12.03 kB / 0.4951 GB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.276e-05/0.1138, allocations: 4.625 kB / 0.4951 GB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.913e-05/0.1139, allocations: 58.73 kB / 0.4952 GB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.609e-05/0.114, allocations: 32.75 kB / 0.4952 GB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.1143, allocations: 218.6 kB / 0.4954 GB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.1144, allocations: 20.81 kB / 0.4955 GB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/0.1144, allocations: 28.38 kB / 0.4955 GB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.1151, allocations: 347.5 kB / 0.4958 GB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1151, allocations: 0 / 0.4958 GB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.1151, allocations: 8 kB / 0.4958 GB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1152, allocations: 4 kB / 0.4958 GB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000582/0.1157, allocations: 353.6 kB / 0.4962 GB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.1176, allocations: 0.9892 MB / 0.4971 GB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.1183, allocations: 378.1 kB / 0.4975 GB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.1186, allocations: 208.8 kB / 0.4977 GB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.555e-05/0.1187, allocations: 19.91 kB / 0.4977 GB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.1187, allocations: 39.16 kB / 0.4978 GB, free: 4.809 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.683e-06/0.1187, allocations: 0 / 0.4978 GB, free: 4.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002512/0.1212, allocations: 0.8371 MB / 0.4986 GB, free: 3.957 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.1213, allocations: 55.41 kB / 0.4986 GB, free: 3.891 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.1216, allocations: 235 kB / 0.4988 GB, free: 3.652 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.1216, allocations: 29.7 kB / 0.4989 GB, free: 3.617 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.1218, allocations: 144.8 kB / 0.499 GB, free: 3.469 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.1219, allocations: 130.9 kB / 0.4991 GB, free: 3.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.1221, allocations: 86.05 kB / 0.4992 GB, free: 3.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.1223, allocations: 338.8 kB / 0.4995 GB, free: 2.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/0.1226, allocations: 236.8 kB / 0.4998 GB, free: 2.676 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.123, allocations: 243.9 kB / 0.5 GB, free: 2.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007621/0.1238, allocations: 0.5132 MB / 0.5005 GB, free: 1.926 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1238, allocations: 0 / 0.5005 GB, free: 1.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001394/0.1252, allocations: 0.7326 MB / 0.5012 GB, free: 1.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.1252, allocations: 8 kB / 0.5012 GB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1252, allocations: 0 / 0.5012 GB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006762/0.1259, allocations: 154.5 kB / 0.5014 GB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.1263, allocations: 87.89 kB / 0.5015 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004314/0.1306, allocations: 4.304 MB / 0.5057 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.131, allocations: 43.64 kB / 0.5057 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.131, allocations: 12 kB / 0.5057 GB, free: 12.22 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.0002143/0.1312, allocations: 153.9 kB / 0.5059 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.958e-05/0.1313, allocations: 23.86 kB / 0.5059 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.1326, allocations: 0.5963 MB / 0.5065 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1326, allocations: 4 kB / 0.5065 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1326, allocations: 4 kB / 0.5065 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.1327, allocations: 7.984 kB / 0.5065 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00063/0.1333, allocations: 432.1 kB / 0.5069 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1333, allocations: 0 / 0.5069 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.1335, allocations: 51.91 kB / 0.5069 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006141/0.1342, allocations: 154.5 kB / 0.5071 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.1342, allocations: 8 kB / 0.5071 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00428/0.1385, allocations: 4.307 MB / 0.5113 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1385, allocations: 0 / 0.5113 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.1397, allocations: 0.6275 MB / 0.5119 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/0.1398, allocations: 35.78 kB / 0.5119 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.1398, allocations: 7.953 kB / 0.512 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.1401, allocations: 8 kB / 0.512 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.1401, allocations: 23.95 kB / 0.512 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.1402, allocations: 11.98 kB / 0.512 GB, free: 5.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.1403, allocations: 164 kB / 0.5122 GB, free: 5.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1403, allocations: 4 kB / 0.5122 GB, free: 5.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005075/0.1408, allocations: 119.9 kB / 0.5123 GB, free: 5.051 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.001587/0.1424, allocations: 1.199 MB / 0.5134 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.1441, allocations: 0.8386 MB / 0.5143 GB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1441, allocations: 0 / 0.5143 GB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.1451, allocations: 0.5857 MB / 0.5148 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.1455, allocations: 16.67 kB / 0.5148 GB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1905/0.336, allocations: 3.603 MB / 0.5184 GB, free: 28.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.3362, allocations: 0.7594 MB / 0.5191 GB, free: 28.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.3363, allocations: 32.52 kB / 0.5191 GB, free: 28.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.3364, allocations: 78.47 kB / 0.5192 GB, free: 28.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.203e-06/0.3364, allocations: 0 / 0.5192 GB, free: 28.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0374/0.3738, allocations: 7.836 MB / 0.5269 GB, free: 27.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.38, allocations: 2.969 kB / 0.5269 GB, free: 27.62 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.09869292494841] Failed to read output from testmodel.py, exit status != 0: 12.546241495991126 12.570485098 12.455954748 Calling exit ...