Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007386/0.0007386, allocations: 92.16 kB / 16.65 MB, free: 6.586 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.0008014/0.0008017, allocations: 183.8 kB / 17.56 MB, free: 6.203 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.495/1.495, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1929/0.1929, allocations: 38.06 MB / 310.1 MB, free: 5.91 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.0005149/0.0005149, allocations: 12.56 kB / 377.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2976, allocations: 56.33 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005277/0.3029, allocations: 4.76 MB / 438.3 MB, free: 14.03 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002996/0.306, allocations: 1.641 MB / 439.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.3063, allocations: 23.81 kB / 439.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.3066, allocations: 63.55 kB / 440 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000663/0.3073, allocations: 262.9 kB / 440.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006253/0.3079, allocations: 231.6 kB / 440.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007307/0.3086, allocations: 1.006 MB / 441.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000692/0.3093, allocations: 417.1 kB / 441.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.3096, allocations: 235 kB / 442.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004938/0.3101, allocations: 414.7 kB / 442.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.3102, allocations: 24 kB / 442.5 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.3105, allocations: 227.5 kB / 442.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.3107, allocations: 235.4 kB / 443 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.311, allocations: 284.3 kB / 443.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005526/0.3115, allocations: 0.7085 MB / 444 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3115, allocations: 4 kB / 444 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3115, allocations: 0 / 444 MB, free: 8.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3116, allocations: 0 / 444 MB, free: 8.262 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001252/0.3128, allocations: 0.7832 MB / 444.8 MB, free: 7.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3129, allocations: 12.03 kB / 444.8 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000552/0.3134, allocations: 100 kB / 444.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.3139, allocations: 412 kB / 445.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.314, allocations: 33.36 kB / 445.3 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.931e-05/0.3141, allocations: 44.11 kB / 445.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.3152, allocations: 0.8591 MB / 446.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.3153, allocations: 3.938 kB / 446.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.3153, allocations: 20 kB / 446.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/0.3155, allocations: 60.95 kB / 446.3 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.3165, allocations: 0.7963 MB / 447.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003076/0.3196, allocations: 2.729 MB / 449.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007403/0.3203, allocations: 0.5792 MB / 450.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.3208, allocations: 458.7 kB / 450.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.3208, allocations: 7.984 kB / 450.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3209, allocations: 38.56 kB / 450.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 3.086e-06/0.3209, allocations: 3.984 kB / 450.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=57): time 0.00283/0.3237, allocations: 1.887 MB / 452.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.924e-05/0.3238, allocations: 134.8 kB / 452.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.3242, allocations: 296.5 kB / 453.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.3242, allocations: 29.7 kB / 453.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.3244, allocations: 264.4 kB / 453.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.3246, allocations: 185.3 kB / 453.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.3247, allocations: 53.69 kB / 453.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.3249, allocations: 354.7 kB / 454.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000513/0.3254, allocations: 344.9 kB / 454.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/0.326, allocations: 485.7 kB / 454.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.3273, allocations: 0.976 MB / 455.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3273, allocations: 4 kB / 455.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001369/0.3287, allocations: 0.9809 MB / 456.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-05/0.3288, allocations: 81.66 kB / 456.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.3288, allocations: 4 kB / 456.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002043/0.329, allocations: 40.84 kB / 457 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.3294, allocations: 87.81 kB / 457 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.3308, allocations: 1.444 MB / 458.5 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.3311, allocations: 31.88 kB / 458.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.438e-05/0.3312, allocations: 31.98 kB / 458.6 MB, free: 8.98 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * 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.0004603/0.3317, allocations: 307.2 kB / 458.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.3318, allocations: 43.52 kB / 458.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.3334, allocations: 1.073 MB / 460 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/0.3334, allocations: 16 kB / 460 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3334, allocations: 0 / 460 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.3334, allocations: 7.922 kB / 460 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.336, allocations: 1.792 MB / 461.8 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.336, allocations: 0 / 461.8 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.3363, allocations: 63.89 kB / 461.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/0.3364, allocations: 32.97 kB / 461.9 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/0.3364, allocations: 15.98 kB / 461.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.3377, allocations: 1.441 MB / 463.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3377, allocations: 0 / 463.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.3392, allocations: 1.179 MB / 464.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.3394, allocations: 172.5 kB / 464.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-05/0.3395, allocations: 23.98 kB / 464.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.3398, allocations: 23.97 kB / 464.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.3399, allocations: 35.95 kB / 464.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/0.34, allocations: 27.92 kB / 464.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002254/0.3402, allocations: 207.1 kB / 465 MB, free: 2.246 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3402, allocations: 0 / 465 MB, free: 2.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007015/0.3409, allocations: 136 kB / 465.1 MB, free: 2.113 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0003401/0.3413, allocations: 163.1 kB / 465.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.3431, allocations: 1.366 MB / 466.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3431, allocations: 0 / 466.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.3441, allocations: 0.9296 MB / 467.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/0.3447, allocations: 74.33 kB / 467.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.347, allocations: 1.624 MB / 469.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.3475, allocations: 0.9053 MB / 470.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002942/0.3478, allocations: 107.2 kB / 470.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.292e-05/0.3479, allocations: 27.44 kB / 470.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of SimCode: time 1.373e-06/0.348, allocations: 0 / 470.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Templates: time 0.01212/0.3601, allocations: 5.641 MB / 476 MB, free: 7.172 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) Environment - environmentSimulation: