Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",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.00111/0.00111, allocations: 109.6 kB / 16.92 MB, free: 6.332 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.001057/0.001057, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.305/1.305, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1761/0.1761, allocations: 38.03 MB / 329.7 MB, free: 8.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 66.02 kB / 398.9 MB, free: 33.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08005/0.08132, allocations: 58.05 MB / 457 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004993/0.08635, allocations: 4.575 MB / 461.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.08795, allocations: 1.305 MB / 462.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.08809, allocations: 15.88 kB / 462.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000928/0.08902, allocations: 402.3 kB / 463.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004001/0.08943, allocations: 254.8 kB / 463.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.08976, allocations: 163.6 kB / 463.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.09022, allocations: 0.5607 MB / 464.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.09058, allocations: 285.2 kB / 464.5 MB, free: 420 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.09084, allocations: 258.9 kB / 464.7 MB, free: 160 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000385/0.09123, allocations: 279.1 kB / 465 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.09129, allocations: 28 kB / 465 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.0915, allocations: 127.8 kB / 465.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.09167, allocations: 195.5 kB / 465.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.09187, allocations: 218.9 kB / 465.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.0923, allocations: 0.5061 MB / 466.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.09232, allocations: 8 kB / 466.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.09232, allocations: 3.984 kB / 466.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.09234, allocations: 0 / 466.1 MB, free: 14.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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009221/0.09327, allocations: 0.6913 MB / 466.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.09331, allocations: 15.88 kB / 466.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.592e-05/0.09338, allocations: 78.66 kB / 466.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005143/0.0939, allocations: 84.41 kB / 467 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000512/0.09442, allocations: 391.2 kB / 467.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.09445, allocations: 25.38 kB / 467.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.09457, allocations: 43.92 kB / 467.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/0.09516, allocations: 484.8 kB / 467.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.09518, allocations: 0 / 467.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.09522, allocations: 16 kB / 467.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.972e-05/0.09532, allocations: 24.98 kB / 467.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.09583, allocations: 363.6 kB / 468.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.09763, allocations: 1.722 MB / 470 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.09789, allocations: 157 kB / 470.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.09804, allocations: 113.6 kB / 470.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.09807, allocations: 15.97 kB / 470.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.0981, allocations: 34.5 kB / 470.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.0981, allocations: 0 / 470.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00126/0.09937, allocations: 0.8827 MB / 471.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.09942, allocations: 81.05 kB / 471.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.09969, allocations: 312.5 kB / 471.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.09971, allocations: 29.7 kB / 471.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.09985, allocations: 255.4 kB / 471.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.09991, allocations: 67.09 kB / 471.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/0.09999, allocations: 53.98 kB / 472 MB, free: 8.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1001, allocations: 342.8 kB / 472.3 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.1003, allocations: 104.2 kB / 472.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.1004, allocations: 193.4 kB / 472.6 MB, free: 7.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.1008, allocations: 331 kB / 472.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1008, allocations: 4 kB / 472.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007871/0.1016, allocations: 473.4 kB / 473.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1016, allocations: 6.031 kB / 473.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005439/0.1022, allocations: 327.7 kB / 473.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004129/0.1026, allocations: 136.7 kB / 473.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.1028, allocations: 55.91 kB / 473.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.1052, allocations: 2.447 MB / 476.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.1053, allocations: 15.98 kB / 476.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.1054, allocations: 8 kB / 476.4 MB, free: 3.867 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.1055, allocations: 193.7 kB / 476.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.1056, allocations: 31.61 kB / 476.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003763/0.106, allocations: 261.5 kB / 476.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.106, allocations: 0 / 476.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.106, allocations: 7.984 kB / 476.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.106, allocations: 0 / 476.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009458/0.1069, allocations: 0.7382 MB / 477.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.107, allocations: 4 kB / 477.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.1072, allocations: 31.98 kB / 477.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.642e-05/0.1073, allocations: 36.81 kB / 477.7 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.1073, allocations: 16 kB / 477.7 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1073, allocations: 4 kB / 477.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1073, allocations: 0 / 477.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.1078, allocations: 454.3 kB / 478.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.1078, allocations: 100.7 kB / 478.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.1079, allocations: 11.94 kB / 478.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.108, allocations: 11.97 kB / 478.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.1081, allocations: 7.984 kB / 478.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.1081, allocations: 12 kB / 478.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.1083, allocations: 219 kB / 478.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1083, allocations: 0 / 478.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003872/0.1087, allocations: 88 kB / 478.6 MB, free: 1.535 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006977/0.1094, allocations: 0.9715 MB / 479.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005967/0.11, allocations: 426.5 kB / 480 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.11, allocations: 7.938 kB / 480 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.1102, allocations: 177.8 kB / 480.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.1106, allocations: 61.75 kB / 480.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.1144, allocations: 3.579 MB / 483.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.1147, allocations: 0.838 MB / 484.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.1149, allocations: 62.91 kB / 484.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.1151, allocations: 127.4 kB / 484.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1151, allocations: 0 / 484.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/0.2186, allocations: 7.211 MB / 492 MB, free: 3.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.91, allocations: 16.52 kB / 492 MB, free: 3.906 MB / 366.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)