Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001501/0.0015, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 93.73 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 47.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2914, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.004486/0.2959, allocations: 4.972 MB / 412 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.2981, allocations: 1.298 MB / 413.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/0.2985, allocations: 11.94 kB / 413.3 MB, free: 21.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.2987, allocations: 91.23 kB / 413.4 MB, free: 21.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004402/0.2992, allocations: 218.2 kB / 413.6 MB, free: 21.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000553/0.2997, allocations: 271.6 kB / 413.9 MB, free: 20.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007355/0.3005, allocations: 1.044 MB / 414.9 MB, free: 19.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.3008, allocations: 231.4 kB / 415.2 MB, free: 19.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003901/0.3012, allocations: 378.5 kB / 415.5 MB, free: 19.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.3016, allocations: 442 kB / 416 MB, free: 18.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.562e-05/0.3017, allocations: 52 kB / 416 MB, free: 18.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.3019, allocations: 75.98 kB / 416.1 MB, free: 18.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.302, allocations: 159.3 kB / 416.2 MB, free: 18.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.3023, allocations: 413.8 kB / 416.7 MB, free: 18.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006182/0.3029, allocations: 0.9629 MB / 417.6 MB, free: 17.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.303, allocations: 0 / 417.6 MB, free: 17.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.303, allocations: 0 / 417.6 MB, free: 17.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.303, allocations: 4 kB / 417.6 MB, free: 17.19 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.00218/0.3052, allocations: 1.25 MB / 418.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3052, allocations: 11.97 kB / 418.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.3054, allocations: 95.81 kB / 419 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.3059, allocations: 475.6 kB / 419.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.3059, allocations: 49.69 kB / 419.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.426e-05/0.306, allocations: 64.28 kB / 419.5 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.3072, allocations: 0.6626 MB / 420.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.3072, allocations: 0 / 420.2 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.3073, allocations: 24 kB / 420.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.3073, allocations: 16 kB / 420.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.3088, allocations: 0.6999 MB / 421 MB, free: 13.74 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.003699/0.3125, allocations: 2.386 MB / 423.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.3138, allocations: 0.5854 MB / 423.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006557/0.3145, allocations: 331.5 kB / 424.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.95e-05/0.3145, allocations: 12.42 kB / 424.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.3155, allocations: 421.4 kB / 424.7 MB, free: 9.836 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 2.544e-06/0.3156, allocations: 0 / 424.7 MB, free: 9.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.06375/0.3793, allocations: 15.41 MB / 440.1 MB, free: 10.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.3795, allocations: 145.5 kB / 440.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007358/0.3802, allocations: 0.5186 MB / 440.7 MB, free: 9.633 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002/0.3804, allocations: 41.7 kB / 440.8 MB, free: 9.586 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.3807, allocations: 395.7 kB / 441.2 MB, free: 9.191 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.381, allocations: 311.5 kB / 441.5 MB, free: 8.883 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003783/0.3814, allocations: 182.5 kB / 441.6 MB, free: 8.699 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3816, allocations: 394.6 kB / 442 MB, free: 8.305 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.3837, allocations: 0.7244 MB / 442.8 MB, free: 7.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/0.3859, allocations: 0.9512 MB / 443.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004088/0.39, allocations: 1.697 MB / 445.4 MB, free: 4.746 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.3901, allocations: 4 kB / 445.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02327/0.4133, allocations: 5.366 MB / 450.8 MB, free: 15.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.301e-05/0.4135, allocations: 67.41 kB / 450.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.4135, allocations: 8.125 kB / 450.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03365/0.4472, allocations: 6.836 MB / 457.7 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008117/0.448, allocations: 139.8 kB / 457.8 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006131/0.4542, allocations: 3.02 MB / 460.8 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.456, allocations: 187.8 kB / 461 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.4562, allocations: 47.98 kB / 461.1 MB, free: 4.965 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (54): * Single equations (assignments): 50 * 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.0004532/0.4567, allocations: 230.2 kB / 461.3 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.4568, allocations: 79.06 kB / 461.4 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02183/0.4787, allocations: 5.095 MB / 466.5 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/0.4787, allocations: 11.98 kB / 466.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.4788, allocations: 0 / 466.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.917e-05/0.4788, allocations: 3.984 kB / 466.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.4807, allocations: 1.108 MB / 467.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4808, allocations: 4 kB / 467.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005492/0.4813, allocations: 91.81 kB / 467.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03288/0.5142, allocations: 6.793 MB / 474.5 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/0.5145, allocations: 28.22 kB / 474.5 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005802/0.5203, allocations: 3.025 MB / 477.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.5203, allocations: 0 / 477.5 MB, free: 4.348 MB / 346.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.08338/0.6037, allocations: 22.06 MB / 499.6 MB, free: 14.07 MB / 378.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.