Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 105.5 kB / 16.45 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 186 kB / 17.38 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04712/0.04712, allocations: 8.108 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.91 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.09746, allocations: 51.52 MB / 465.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.002556/0.1, allocations: 1.617 MB / 467.1 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.1019, allocations: 1.555 MB / 468.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.102, allocations: 4 kB / 468.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.1024, allocations: 123.3 kB / 468.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.1028, allocations: 147.1 kB / 468.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.1046, allocations: 1.038 MB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.1049, allocations: 238.8 kB / 470.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.1051, allocations: 80.33 kB / 470.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1053, allocations: 107.6 kB / 470.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.1055, allocations: 123.5 kB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.1055, allocations: 16 kB / 470.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.106, allocations: 243.7 kB / 470.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.106, allocations: 47.83 kB / 470.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1062, allocations: 119.4 kB / 470.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005841/0.1068, allocations: 414.5 kB / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.1068, allocations: 4 kB / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1068, allocations: 7.875 kB / 471.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.1068, allocations: 4 kB / 471.3 MB, free: 12.8 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003447/0.1103, allocations: 0.9905 MB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1103, allocations: 11.89 kB / 472.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.705e-05/0.1104, allocations: 54.73 kB / 472.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.417e-05/0.1105, allocations: 24.66 kB / 472.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.1108, allocations: 264.2 kB / 472.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.1108, allocations: 12.7 kB / 472.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.1109, allocations: 20.38 kB / 472.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000458/0.1113, allocations: 302.6 kB / 473 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1113, allocations: 3.938 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.1114, allocations: 4 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1114, allocations: 4 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/0.1118, allocations: 251.8 kB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.1134, allocations: 1.164 MB / 474.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006085/0.114, allocations: 318.4 kB / 474.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.1143, allocations: 158.1 kB / 474.9 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.309e-05/0.1143, allocations: 7.938 kB / 474.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1144, allocations: 34.56 kB / 474.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.333e-06/0.1144, allocations: 0 / 474.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003734/0.1181, allocations: 1.073 MB / 476 MB, free: 7.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.1182, allocations: 110.8 kB / 476.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1184, allocations: 214.8 kB / 476.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.1184, allocations: 37.7 kB / 476.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.1185, allocations: 132.8 kB / 476.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.1186, allocations: 86.75 kB / 476.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.1187, allocations: 69.69 kB / 476.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1188, allocations: 330.8 kB / 477 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.1191, allocations: 184.2 kB / 477.2 MB, free: 6.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.1194, allocations: 206.5 kB / 477.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/0.1199, allocations: 381.5 kB / 477.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1199, allocations: 0 / 477.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002013/0.122, allocations: 0.7474 MB / 478.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.122, allocations: 10.19 kB / 478.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.122, allocations: 0 / 478.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/0.124, allocations: 416.4 kB / 478.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.1243, allocations: 63.89 kB / 479 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004259/0.1285, allocations: 2.726 MB / 481.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.1288, allocations: 35.69 kB / 481.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.1289, allocations: 15.98 kB / 481.7 MB, free: 1.906 MB / 350.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 (33): * Single equations (assignments): 32 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.129, allocations: 141.8 kB / 481.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.154e-05/0.1291, allocations: 15.81 kB / 481.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.1311, allocations: 0.6988 MB / 482.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1311, allocations: 7.984 kB / 482.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1311, allocations: 0 / 482.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.1311, allocations: 7.875 kB / 482.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.1315, allocations: 393.3 kB / 483 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.1315, allocations: 0 / 483 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.1316, allocations: 35.92 kB / 483 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00192/0.1336, allocations: 420.6 kB / 483.4 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.1336, allocations: 8 kB / 483.4 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003979/0.1376, allocations: 2.691 MB / 486.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1376, allocations: 0 / 486.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.1395, allocations: 0.7424 MB / 486.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.1396, allocations: 104.8 kB / 487 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.1396, allocations: 4 kB / 487 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.1399, allocations: 27.92 kB / 487 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.14, allocations: 23.91 kB / 487 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.14, allocations: 16 kB / 487 MB, free: 12.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1402, allocations: 156.4 kB / 487.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1402, allocations: 0 / 487.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004346/0.1406, allocations: 107.9 kB / 487.3 MB, free: 12.08 MB / 366.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 (22): * Single equations (assignments): 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002191/0.1428, allocations: 1.303 MB / 488.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.1443, allocations: 0.6233 MB / 489.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.1443, allocations: 3.938 kB / 489.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009501/0.1452, allocations: 418.5 kB / 489.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.1456, allocations: 31.69 kB / 489.7 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00609/0.1517, allocations: 3.493 MB / 493.2 MB, free: 6.082 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.152, allocations: 0.7485 MB / 493.9 MB, free: 5.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.1521, allocations: 33.91 kB / 493.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.1522, allocations: 75.41 kB / 494 MB, free: 5.195 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1522, allocations: 0 / 494 MB, free: 5.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.1858, allocations: 9.939 MB / 0.4921 GB, free: 11.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.74, allocations: 7.828 kB / 0.4922 GB, free: 11.37 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)