Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009927/0.0009928, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.199/1.199, allocations: 205.1 MB / 223.8 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009818/0.0009819, allocations: 106.9 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007515/0.0007516, allocations: 31.95 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1951, allocations: 46.62 MB / 373.8 MB, free: 45.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004523/0.1996, allocations: 4.719 MB / 378.5 MB, free: 42.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.2013, allocations: 1.283 MB / 379.8 MB, free: 41.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.2015, allocations: 14.84 kB / 379.8 MB, free: 41.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.2018, allocations: 79.81 kB / 379.9 MB, free: 40.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.2021, allocations: 208.1 kB / 380.1 MB, free: 40.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.2025, allocations: 257.6 kB / 380.4 MB, free: 40.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007218/0.2032, allocations: 1.006 MB / 381.4 MB, free: 39.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.2036, allocations: 221.9 kB / 381.6 MB, free: 39.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003127/0.2039, allocations: 369 kB / 381.9 MB, free: 39.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.2042, allocations: 428.2 kB / 382.4 MB, free: 39.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.314e-05/0.2043, allocations: 50.69 kB / 382.4 MB, free: 39.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.2045, allocations: 79.36 kB / 382.5 MB, free: 39.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.794e-05/0.2046, allocations: 153.7 kB / 382.6 MB, free: 39.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.2049, allocations: 400 kB / 383 MB, free: 38.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.2055, allocations: 0.9275 MB / 384 MB, free: 38.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2055, allocations: 0.9375 kB / 384 MB, free: 38.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.2055, allocations: 0 / 384 MB, free: 38.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.2055, allocations: 0 / 384 MB, free: 38.23 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.00205/0.2076, allocations: 1.214 MB / 385.2 MB, free: 37.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2076, allocations: 9.312 kB / 385.2 MB, free: 37.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.2078, allocations: 88.81 kB / 385.3 MB, free: 37.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.2082, allocations: 468 kB / 385.7 MB, free: 36.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.2082, allocations: 43 kB / 385.8 MB, free: 36.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.493e-05/0.2084, allocations: 65.25 kB / 385.8 MB, free: 36.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.2095, allocations: 0.6362 MB / 386.5 MB, free: 36.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.2096, allocations: 1.031 kB / 386.5 MB, free: 36.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.2096, allocations: 25.94 kB / 386.5 MB, free: 36.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.2096, allocations: 13.94 kB / 386.5 MB, free: 36.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.2111, allocations: 0.6844 MB / 387.2 MB, free: 35.98 MB / 298.7 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.002739/0.2139, allocations: 2.324 MB / 389.5 MB, free: 33.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.2152, allocations: 0.5886 MB / 390.1 MB, free: 32.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008122/0.2161, allocations: 326.9 kB / 390.4 MB, free: 32.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.514e-05/0.2161, allocations: 16.41 kB / 390.4 MB, free: 32.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009646/0.2171, allocations: 425.4 kB / 390.9 MB, free: 32.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 2.525e-06/0.2171, allocations: 0 / 390.9 MB, free: 32.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.06253/0.2797, allocations: 15.4 MB / 406.3 MB, free: 16.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.2798, allocations: 145.5 kB / 406.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.2802, allocations: 494.8 kB / 406.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.2803, allocations: 45.7 kB / 406.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.2805, allocations: 364 kB / 407.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.2807, allocations: 315.4 kB / 407.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/0.281, allocations: 194.4 kB / 407.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.2811, allocations: 378.8 kB / 408.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.2828, allocations: 0.7202 MB / 408.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.2846, allocations: 0.9265 MB / 409.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/0.2879, allocations: 1.662 MB / 411.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.288, allocations: 0 / 411.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02085/0.3088, allocations: 5.339 MB / 416.8 MB, free: 5.836 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.3089, allocations: 63.53 kB / 416.9 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.3089, allocations: 8 kB / 416.9 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03037/0.3393, allocations: 6.832 MB / 423.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.34, allocations: 139.8 kB / 423.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005708/0.3458, allocations: 3.012 MB / 426.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.3474, allocations: 183.8 kB / 427 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.3476, allocations: 47.97 kB / 427.1 MB, free: 11.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0003836/0.348, allocations: 210.4 kB / 427.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.3481, allocations: 83.05 kB / 427.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02112/0.3693, allocations: 5.103 MB / 432.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.3693, allocations: 12 kB / 432.5 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3693, allocations: 0 / 432.5 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.3694, allocations: 3.984 kB / 432.5 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.3708, allocations: 1.095 MB / 433.6 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.3708, allocations: 3.938 kB / 433.6 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/0.3713, allocations: 87.89 kB / 433.7 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0317/0.403, allocations: 6.797 MB / 440.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.4032, allocations: 23.98 kB / 440.5 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005379/0.4086, allocations: 3.056 MB / 443.5 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4086, allocations: 48 / 443.5 MB, free: 10.85 MB / 330.7 MB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08341/0.492, allocations: 22.02 MB / 465.6 MB, free: 4.617 MB / 346.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.