Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.001022/0.001022, allocations: 97.67 kB / 16.5 MB, free: 6.641 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.001113/0.001113, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.357/1.357, allocations: 205.1 MB / 223.3 MB, free: 12.39 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1738/0.1738, allocations: 37.99 MB / 308.6 MB, free: 6.227 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.001386/0.001386, allocations: 59.91 kB / 374.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2528, allocations: 55.25 MB / 430 MB, free: 19.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.00525/0.2581, allocations: 5.228 MB / 435.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.2603, allocations: 1.707 MB / 436.9 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.2606, allocations: 27.81 kB / 436.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008461/0.2614, allocations: 353.8 kB / 437.3 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.2618, allocations: 223.1 kB / 437.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.2622, allocations: 227.5 kB / 437.7 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.2627, allocations: 0.8419 MB / 438.6 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.2631, allocations: 314.5 kB / 438.9 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.2633, allocations: 227 kB / 439.1 MB, free: 10.6 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000351/0.2637, allocations: 323 kB / 439.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.2638, allocations: 28 kB / 439.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.264, allocations: 155.7 kB / 439.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.2642, allocations: 223.4 kB / 439.8 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.2644, allocations: 230.8 kB / 440 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.2648, allocations: 0.584 MB / 440.6 MB, free: 9.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2648, allocations: 0 / 440.6 MB, free: 9.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2648, allocations: 0 / 440.6 MB, free: 9.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.2648, allocations: 4 kB / 440.6 MB, free: 9.066 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001129/0.266, allocations: 0.766 MB / 441.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.266, allocations: 8.031 kB / 441.4 MB, free: 8.242 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.423e-05/0.2661, allocations: 86.72 kB / 441.5 MB, free: 8.148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005322/0.2666, allocations: 88.22 kB / 441.6 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.2671, allocations: 400.1 kB / 441.9 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2671, allocations: 29.38 kB / 442 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.2672, allocations: 59.83 kB / 442 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006697/0.2679, allocations: 0.6488 MB / 442.7 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.268, allocations: 7.984 kB / 442.7 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/0.268, allocations: 19.98 kB / 442.7 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.2681, allocations: 36.92 kB / 442.7 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/0.2687, allocations: 479.5 kB / 443.2 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.2711, allocations: 3.014 MB / 446.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.2714, allocations: 185.5 kB / 446.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.2715, allocations: 101.7 kB / 446.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.2716, allocations: 4 kB / 446.5 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.2716, allocations: 34.56 kB / 446.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.2716, allocations: 0 / 446.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.00113/0.2727, allocations: 0.8432 MB / 447.4 MB, free: 1.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.2728, allocations: 81.11 kB / 447.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.273, allocations: 353.5 kB / 447.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.2731, allocations: 29.69 kB / 447.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2732, allocations: 298.9 kB / 448.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.139e-05/0.2732, allocations: 82.92 kB / 448.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.2734, allocations: 89.95 kB / 448.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2735, allocations: 350.8 kB / 448.6 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.2736, allocations: 128.7 kB / 448.8 MB, free: 452 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.2738, allocations: 330.8 kB / 449.1 MB, free: 24 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/0.2744, allocations: 0.4986 MB / 449.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2745, allocations: 3.938 kB / 449.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009524/0.2754, allocations: 0.5527 MB / 450.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.2755, allocations: 11.98 kB / 450.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005071/0.276, allocations: 272.4 kB / 450.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003314/0.2763, allocations: 80.78 kB / 450.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.2766, allocations: 95.77 kB / 450.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.2783, allocations: 1.605 MB / 452.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.2785, allocations: 16 kB / 452.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.2786, allocations: 31.92 kB / 452.3 MB, free: 12.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000241/0.2788, allocations: 209.9 kB / 452.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.2789, allocations: 31.62 kB / 452.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000513/0.2794, allocations: 296.7 kB / 452.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.2794, allocations: 4 kB / 452.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.2794, allocations: 0 / 452.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.2795, allocations: 3.984 kB / 452.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.2806, allocations: 0.7966 MB / 453.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2806, allocations: 0 / 453.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.2809, allocations: 55.91 kB / 453.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2809, allocations: 0 / 453.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.2809, allocations: 8 kB / 453.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.2809, allocations: 4 kB / 453.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2809, allocations: 4.062 kB / 453.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.2815, allocations: 490.6 kB / 454.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.083e-05/0.2816, allocations: 100.7 kB / 454.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.2817, allocations: 16.03 kB / 454.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.2818, allocations: 8 kB / 454.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.2819, allocations: 19.92 kB / 454.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.2819, allocations: 7.984 kB / 454.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.2821, allocations: 235.2 kB / 454.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2821, allocations: 0 / 454.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004375/0.2826, allocations: 96 kB / 454.6 MB, free: 10.13 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007838/0.2834, allocations: 1.011 MB / 455.6 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007131/0.2841, allocations: 447.2 kB / 456.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2841, allocations: 0 / 456.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.2843, allocations: 111.9 kB / 456.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.2848, allocations: 63.7 kB / 456.2 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004749/0.2895, allocations: 4.188 MB / 460.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.29, allocations: 0.8659 MB / 461.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002955/0.2903, allocations: 115.2 kB / 461.4 MB, free: 3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.2905, allocations: 147.4 kB / 461.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2905, allocations: 0 / 461.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.3087, allocations: 7 MB / 468.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.309, allocations: 220 kB / 468.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.238, allocations: 7.875 kB / 468.8 MB, free: 11.61 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)