Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0",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.00119/0.00119, allocations: 91.73 kB / 16.3 MB, free: 6.453 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.001251/0.001251, allocations: 185.4 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1722/0.1722, allocations: 38.04 MB / 309.7 MB, free: 6.141 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004837, allocations: 18.81 kB / 376.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2164, allocations: 56.32 MB / 432.9 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.004352/0.2208, allocations: 6.492 MB / 439.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003554/0.2243, allocations: 4.078 MB / 443.5 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002228/0.2246, allocations: 19.94 kB / 443.5 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.2248, allocations: 143.2 kB / 443.6 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.2261, allocations: 0.7087 MB / 444.3 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.2266, allocations: 251.4 kB / 444.6 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.2271, allocations: 0.5886 MB / 445.2 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.2286, allocations: 1.275 MB / 446.5 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004231/0.2291, allocations: 398.6 kB / 446.8 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.2294, allocations: 394.8 kB / 447.2 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.2295, allocations: 40 kB / 447.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.2308, allocations: 0.8773 MB / 448.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.2311, allocations: 0.4989 MB / 448.6 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.2312, allocations: 217.2 kB / 448.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.2322, allocations: 1.333 MB / 450.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2322, allocations: 0 / 450.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2323, allocations: 4 kB / 450.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.2323, allocations: 0 / 450.2 MB, free: 1.461 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001317/0.2336, allocations: 1.178 MB / 451.4 MB, free: 236 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2336, allocations: 8.031 kB / 451.4 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.2338, allocations: 160.6 kB / 451.5 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003986/0.2378, allocations: 0.6385 MB / 452.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009422/0.2387, allocations: 0.5432 MB / 452.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.668e-05/0.2388, allocations: 61.98 kB / 452.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.2389, allocations: 91.98 kB / 452.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.241, allocations: 1.45 MB / 454.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.241, allocations: 11.88 kB / 454.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.3e-05/0.2411, allocations: 39.94 kB / 454.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001292/0.2413, allocations: 102 kB / 454.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.2434, allocations: 1.476 MB / 455.9 MB, free: 11.55 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007295/0.2507, allocations: 4.876 MB / 460.8 MB, free: 6.465 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.2523, allocations: 1.147 MB / 462 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.2524, allocations: 29.11 kB / 462 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2524, allocations: 47.5 kB / 462 MB, free: 5.219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=107): time 4.368e-06/0.2525, allocations: 0 / 462 MB, free: 5.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=108): time 0.006997/0.2595, allocations: 3.613 MB / 465.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.2595, allocations: 98.05 kB / 465.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004631/0.26, allocations: 461.8 kB / 466.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.2601, allocations: 49.7 kB / 466.2 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.2603, allocations: 427.4 kB / 466.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.2606, allocations: 374.6 kB / 467 MB, free: 132 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.2607, allocations: 20 kB / 467 MB, free: 112 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2608, allocations: 382.8 kB / 467.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000784/0.2616, allocations: 0.5218 MB / 467.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008604/0.2625, allocations: 0.7305 MB / 468.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008705/0.2634, allocations: 0.6393 MB / 469.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2634, allocations: 4 kB / 469.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002764/0.2662, allocations: 1.771 MB / 471.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2662, allocations: 8 kB / 471.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.2662, allocations: 8 kB / 471.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.2672, allocations: 409.6 kB / 471.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008376/0.2681, allocations: 235.6 kB / 471.7 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006753/0.2749, allocations: 5.742 MB / 477.5 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006614/0.2755, allocations: 75.94 kB / 477.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/0.2756, allocations: 43.98 kB / 477.6 MB, free: 5.164 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004867/0.2761, allocations: 360.4 kB / 477.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.2762, allocations: 71.16 kB / 478 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/0.2791, allocations: 1.779 MB / 479.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.2791, allocations: 16 kB / 479.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.2791, allocations: 7.984 kB / 479.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.2792, allocations: 3.984 kB / 479.8 MB, free: 2.914 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005554/0.2847, allocations: 3.431 MB / 483.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.2847, allocations: 3.984 kB / 483.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007938/0.2855, allocations: 195.7 kB / 483.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009067/0.2865, allocations: 346.3 kB / 483.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.089e-05/0.2865, allocations: 31.92 kB / 483.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006439/0.293, allocations: 5.463 MB / 489.3 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.293, allocations: 4 kB / 489.3 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002834/0.2959, allocations: 1.965 MB / 491.2 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.2961, allocations: 168.1 kB / 491.4 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.2962, allocations: 24 kB / 491.4 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/0.2967, allocations: 43.95 kB / 491.5 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.2969, allocations: 100.8 kB / 491.6 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.3e-05/0.297, allocations: 32 kB / 491.6 MB, free: 6.523 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003741/0.2973, allocations: 323.1 kB / 491.9 MB, free: 6.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2974, allocations: 0 / 491.9 MB, free: 6.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00113/0.2985, allocations: 396 kB / 492.3 MB, free: 5.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003588/0.3021, allocations: 3.561 MB / 495.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002626/0.3047, allocations: 1.717 MB / 497.6 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3047, allocations: 0 / 497.6 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001552/0.3063, allocations: 1.058 MB / 498.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006647/0.307, allocations: 111.4 kB / 498.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.3182, allocations: 10.16 MB / 0.497 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009469/0.3192, allocations: 1.188 MB / 0.4981 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006385/0.3198, allocations: 237.4 kB / 0.4984 GB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004997/0.3203, allocations: 339.3 kB / 0.4987 GB, free: 3.035 MB / 382.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3203, allocations: 0 / 0.4987 GB, free: 3.035 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03457/0.3549, allocations: 18.44 MB / 0.5167 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.3551, allocations: 212.8 kB / 0.5169 GB, free: 392 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/2.582, allocations: 0 / 0.5169 GB, free: 392 kB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkLoop_dq0.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) Environment - environmentSimulation: