Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7876/0.7876, allocations: 132.4 MB / 139.7 MB, free: 15.54 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001283/0.001284, allocations: 169.1 kB / 171.6 MB, free: 1.965 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.479/1.479, allocations: 170.5 MB / 373.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00162/0.00162, allocations: 100 kB / 444.4 MB, free: 9.422 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4516/0.4516, allocations: 73.38 MB / 0.666 GB, free: 62.57 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.6016, allocations: 116.6 MB / 0.7799 GB, free: 3.723 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004194/0.6021, allocations: 92.91 kB / 0.78 GB, free: 3.633 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.07701/0.6791, allocations: 29.95 MB / 0.8092 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.673e-05/0.6792, allocations: 20 kB / 0.8092 GB, free: 5.516 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001952/0.6812, allocations: 0.7767 MB / 0.81 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.6812, allocations: 19.95 kB / 0.81 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.683, allocations: 201.4 kB / 0.8102 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.6841, allocations: 476.4 kB / 0.8107 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.6841, allocations: 16 kB / 0.8107 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.6842, allocations: 35.89 kB / 0.8107 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008137/0.685, allocations: 417.9 kB / 0.8111 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.6862, allocations: 0.8476 MB / 0.8119 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.6863, allocations: 7.938 kB / 0.8119 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.415e-05/0.6863, allocations: 8 kB / 0.8119 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-05/0.6864, allocations: 64.61 kB / 0.812 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004623/0.691, allocations: 5.033 MB / 0.8169 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005812/0.6917, allocations: 422.4 kB / 0.8173 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.692, allocations: 224.8 kB / 0.8175 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.692, allocations: 4 kB / 0.8175 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.692, allocations: 34.47 kB / 0.8176 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.6921, allocations: 7.938 kB / 0.8176 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001737/0.6938, allocations: 0.8278 MB / 0.8184 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.6939, allocations: 55.41 kB / 0.8184 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/0.6943, allocations: 349.3 kB / 0.8188 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.6943, allocations: 25.7 kB / 0.8188 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.6945, allocations: 291.5 kB / 0.8191 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.6947, allocations: 122.3 kB / 0.8192 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/0.6947, allocations: 0 / 0.8192 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.6949, allocations: 358.8 kB / 0.8195 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.6952, allocations: 185.2 kB / 0.8197 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.6957, allocations: 397.5 kB / 0.8201 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003932/0.6961, allocations: 251.7 kB / 0.8203 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6961, allocations: 0 / 0.8203 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001237/0.6974, allocations: 0.7124 MB / 0.821 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.6974, allocations: 11.94 kB / 0.821 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.6974, allocations: 4 kB / 0.821 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/0.698, allocations: 144.2 kB / 0.8212 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.6985, allocations: 115.9 kB / 0.8213 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/0.7025, allocations: 3.86 MB / 0.8251 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.703, allocations: 14.42 kB / 0.8251 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.703, allocations: 28 kB / 0.8251 GB, free: 4.176 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.7032, allocations: 125.7 kB / 0.8252 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.7034, allocations: 59.34 kB / 0.8253 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.7045, allocations: 0.5766 MB / 0.8258 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.7046, allocations: 4 kB / 0.8258 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.7046, allocations: 0 / 0.8258 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.7046, allocations: 0 / 0.8258 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.7065, allocations: 1.176 MB / 0.827 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.7065, allocations: 0 / 0.827 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.7068, allocations: 56.03 kB / 0.827 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.7072, allocations: 144.1 kB / 0.8272 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.7073, allocations: 4 kB / 0.8272 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003168/0.7105, allocations: 3.842 MB / 0.8309 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.7105, allocations: 4 kB / 0.8309 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001067/0.7116, allocations: 0.7794 MB / 0.8317 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.7118, allocations: 160.4 kB / 0.8319 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.634e-05/0.7119, allocations: 0 / 0.8319 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.7122, allocations: 11.98 kB / 0.8319 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.7123, allocations: 23.91 kB / 0.8319 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.7123, allocations: 12 kB / 0.8319 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.000287/0.7126, allocations: 259 kB / 0.8322 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007128/0.7133, allocations: 135.9 kB / 0.8323 GB, free: 12.24 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002012/0.7135, allocations: 115.6 kB / 0.8324 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.7148, allocations: 0.9675 MB / 0.8333 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7149, allocations: 0 / 0.8333 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000823/0.7157, allocations: 0.6969 MB / 0.834 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000847/0.7165, allocations: 166.3 kB / 0.8342 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.7181, allocations: 0.7583 MB / 0.8349 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006926/0.7188, allocations: 0.9483 MB / 0.8358 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of SimCode: time 3.81e-07/0.7188, allocations: 0 / 0.8358 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of Templates: time 0.01391/0.7327, allocations: 6.989 MB / 0.8427 GB, free: 1.469 MB / 0.5417 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)