Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 387.1 MB / 399.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001183, allocations: 176.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.3 MB / 0.7871 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008689/0.0008688, allocations: 94.58 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.736e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2894, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9294/1.219, allocations: 184.5 MB / 1.393 GB, free: 14.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/1.219, allocations: 96.09 kB / 1.393 GB, free: 14.97 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06834/1.288, allocations: 30.72 MB / 1.423 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.513e-06/1.288, allocations: 0 / 1.423 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.279e-05/1.288, allocations: 15.98 kB / 1.423 GB, free: 5.355 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001374/1.289, allocations: 0.6395 MB / 1.423 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.289, allocations: 8.031 kB / 1.423 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/1.29, allocations: 139.4 kB / 1.423 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/1.291, allocations: 329 kB / 1.424 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/1.291, allocations: 31.02 kB / 1.424 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.851e-05/1.291, allocations: 41.62 kB / 1.424 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009632/1.292, allocations: 0.5921 MB / 1.424 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/1.292, allocations: 11.12 kB / 1.424 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/1.292, allocations: 15.06 kB / 1.424 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.578e-05/1.292, allocations: 32.77 kB / 1.424 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007575/1.293, allocations: 462.8 kB / 1.425 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003793/1.297, allocations: 3.436 MB / 1.428 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/1.298, allocations: 373.2 kB / 1.429 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/1.298, allocations: 172 kB / 1.429 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/1.298, allocations: 11.92 kB / 1.429 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/1.298, allocations: 38.31 kB / 1.429 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 2.214e-06/1.298, allocations: 0 / 1.429 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26): time 0.001939/1.3, allocations: 0.7448 MB / 1.43 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/1.3, allocations: 88.42 kB / 1.43 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/1.3, allocations: 288.6 kB / 1.43 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/1.3, allocations: 29.14 kB / 1.43 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/1.301, allocations: 263.2 kB / 1.43 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.724e-05/1.301, allocations: 91.59 kB / 1.43 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/1.301, allocations: 11 kB / 1.43 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.301, allocations: 342.5 kB / 1.431 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/1.301, allocations: 170.2 kB / 1.431 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/1.301, allocations: 326.4 kB / 1.431 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/1.302, allocations: 232.6 kB / 1.431 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.302, allocations: 0 / 1.431 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001856/1.304, allocations: 0.843 MB / 1.432 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008263/1.304, allocations: 2.096 MB / 1.434 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.305, allocations: 4 kB / 1.434 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/1.306, allocations: 416.1 kB / 1.435 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/1.307, allocations: 99.81 kB / 1.435 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/1.308, allocations: 1.258 MB / 1.436 GB, free: 8.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/1.308, allocations: 39.25 kB / 1.436 GB, free: 8.543 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.9e-05/1.308, allocations: 27.92 kB / 1.436 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/1.308, allocations: 4 kB / 1.436 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006719/1.309, allocations: 462.1 kB / 1.436 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.309, allocations: 4 kB / 1.436 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/1.309, allocations: 12.72 kB / 1.436 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/1.309, allocations: 111.7 kB / 1.437 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/1.309, allocations: 15.94 kB / 1.437 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/1.31, allocations: 31.39 kB / 1.437 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/1.31, allocations: 23.92 kB / 1.437 GB, free: 8.008 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001493/1.31, allocations: 131.9 kB / 1.437 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.803e-05/1.31, allocations: 35.58 kB / 1.437 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/1.312, allocations: 0.6648 MB / 1.437 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.312, allocations: 4 kB / 1.437 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/1.312, allocations: 0 / 1.437 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/1.312, allocations: 3.938 kB / 1.437 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/1.313, allocations: 0.6474 MB / 1.438 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/1.313, allocations: 8.031 kB / 1.438 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/1.313, allocations: 51.08 kB / 1.438 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/1.314, allocations: 403.6 kB / 1.438 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/1.315, allocations: 6.25 kB / 1.438 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003772/1.318, allocations: 3.474 MB / 1.442 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.318, allocations: 0 / 1.442 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/1.32, allocations: 0.862 MB / 1.443 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/1.32, allocations: 146.7 kB / 1.443 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/1.32, allocations: 3.438 kB / 1.443 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/1.321, allocations: 39.5 kB / 1.443 GB, free: 1.844 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/1.321, allocations: 23.17 kB / 1.443 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/1.321, allocations: 11.5 kB / 1.443 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003016/1.321, allocations: 224.2 kB / 1.443 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.7e-07/1.321, allocations: 4 kB / 1.443 GB, free: 1.641 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009996/1.322, allocations: 194.8 kB / 1.443 GB, free: 1.469 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002461/1.322, allocations: 130.3 kB / 1.443 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001503/1.324, allocations: 0.7133 MB / 1.444 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.324, allocations: 4 kB / 1.444 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007895/1.325, allocations: 476.9 kB / 1.445 GB, free: 388 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/1.325, allocations: 63.73 kB / 1.445 GB, free: 344 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/1.326, allocations: 0.5342 MB / 1.445 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/1.327, allocations: 0.8554 MB / 1.446 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000473/1.327, allocations: 147.1 kB / 1.446 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/1.327, allocations: 27.42 kB / 1.446 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of SimCode: time 8.52e-07/1.327, allocations: 0 / 1.446 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.01176/1.339, allocations: 5.973 MB / 1.452 GB, free: 8.871 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches